diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2025-08-15 09:34:04 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-08-22 12:14:04 +0200 |
commit | b2af65aee264a496c766ea595ecdb3f2c610b8b5 (patch) | |
tree | 6c1d6a20910084c05b6db48d63508eeda38b36d9 /tools/docs/parse-headers.py | |
parent | 7aa59bfe06875cc4c3cb5c04eed2cdf6f6288153 (diff) |
mmc: sh_mmicf: 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-30-jszhang@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions