diff options
| author | Jisheng Zhang <jszhang@kernel.org> | 2026-08-03 22:20:02 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-07 18:58:29 +0100 |
| commit | 2dae40e9dcfbacd6362244de68868538c11967a1 (patch) | |
| tree | 8f353cfe4ad0e3defbd1280e26a7c7eec55cff18 /tools/perf/scripts/python | |
| parent | e3f3d046f3f6467785ae35cefef33e3b7c774be4 (diff) | |
spi: topcliff-pch: 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.
At the same time, for pch_spi_pd_driver, we also switch to modern
driver.pm for pm ops.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://patch.msgid.link/20260803142003.12857-39-jszhang@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
