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-31 18:38:22 +0900 |
| commit | 61defa04bf0578ff9f7a52a8c74a9cb5acd8fced (patch) | |
| tree | 361c0eb800c1e05649cab8cd81b6b475a6ebba9c /scripts/Makefile.thinlto | |
| parent | 78f56b3fee8fb4c6f851aa41f1eddad269aaf46c (diff) | |
| download | linux-next-61defa04bf0578ff9f7a52a8c74a9cb5acd8fced.tar.gz linux-next-61defa04bf0578ff9f7a52a8c74a9cb5acd8fced.zip | |
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
