diff options
| author | 2026-08-20 15:30:34 +0700 | |
|---|---|---|
| committer | 2026-08-20 15:30:34 +0700 | |
| commit | 56b41ee056d09da939fa68dd5c87c577134f62f4 (patch) | |
| tree | 3360e5097174077d4b52acd8ac2c7da3385bbc01 /scripts/Makefile.thinlto | |
| parent | tools/firewire: nosy-dump: guard close(fd) when reading from input file (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
