summaryrefslogtreecommitdiff
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2025-08-15 04:34:11 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2025-08-22 13:14:05 +0300
commitb6a668e0f1c453a32013d047c5cd9a46d3ef54a0 (patch)
tree6233b5d1466fbac35504a5b681de52a42f81b542 /rust/helpers/processor.c
parenta01c660c8f7da8d4c0c220aa7880471a9c1921ef (diff)
downloadlinux-b6a668e0f1c453a32013d047c5cd9a46d3ef54a0.tar.xz
mmc: dw_mmc-k3: use modern PM macros
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. This has the advantage of always compiling these functions in, independently of any Kconfig option. Thanks to that, bugs and other regressions are subsequently easier to catch. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Link: https://lore.kernel.org/r/20250815013413.28641-37-jszhang@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions