diff options
| author | Jisheng Zhang <jszhang@kernel.org> | 2026-08-03 22:19:56 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-07 18:58:20 +0100 |
| commit | 3c71dabf596ab257511505e61a08323e25b1871b (patch) | |
| tree | 7de3e085036fbf8cf1221a19f6700df02538e6bb /tools/perf/scripts/python/task-analyzer.py | |
| parent | 96e9434dee1d97396f454d2b265087e91faf5447 (diff) | |
spi: sunplus-sp7021: 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 or
__maybe_unused.
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://patch.msgid.link/20260803142003.12857-33-jszhang@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
