diff options
| author | Triet Hoang <triet.hoang.dev@gmail.com> | 2026-08-20 15:30:34 +0700 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-08-20 15:30:34 +0700 |
| commit | 56b41ee056d09da939fa68dd5c87c577134f62f4 (patch) | |
| tree | 3360e5097174077d4b52acd8ac2c7da3385bbc01 /rust/kernel/alloc/kvec | |
| parent | efc4506664ea4a713483bfc0b34078982ed7670a (diff) | |
firewire: ohci: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert the deprecated SIMPLE_DEV_PM_OPS
to DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr().
This lets us drop the __maybe_unused annotations from the suspend and
resume callbacks, and reduces kernel size in case CONFIG_PM or
CONFIG_PM_SLEEP is disabled.
Signed-off-by: Triet Hoang <triet.hoang.dev@gmail.com>
Link: https://lore.kernel.org/r/20260820083034.2087217-1-triet.hoang.dev@gmail.com
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions
