mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
spi: use modern PM macros
Jisheng Zhang <jszhang@kernel.org> says: Use the modern PM macros for the suspend and resume functions to be automatically dropped by the compiler when CONFIG_PM or CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards or __maybe_unused. Compiled testd for arm, arm64, riscv and riscv64 with below combinations: !PM && !PM_SLEEP PM && !PM_SLEEP PM && PM_SLEEP Link: https://patch.msgid.link/20260803142003.12857-1-jszhang@kernel.org
This commit is contained in:
commit
1ec281b42e
43 changed files with 195 additions and 289 deletions
Loading…
Add table
Add a link
Reference in a new issue