diff options
author | 2025-06-09 23:21:09 +0200 | |
---|---|---|
committer | 2025-07-15 13:28:53 +0100 | |
commit | 6f8584a4826f01a55d3d0c4bbad5961f1de52fc9 (patch) | |
tree | 124b3b9a50940bae57f1cbd74a267fa9c839e5de /tools/perf/scripts/python | |
parent | spi: rspi: Convert to DEFINE_SIMPLE_DEV_PM_OPS() (diff) | |
download | wireguard-linux-6f8584a4826f01a55d3d0c4bbad5961f1de52fc9.tar.xz wireguard-linux-6f8584a4826f01a55d3d0c4bbad5961f1de52fc9.zip |
spi: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less error prone than the
use of #ifdef based kernel configuration guards.
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Link: https://patch.msgid.link/20250609-update_pm_macro-v1-1-819a53ef0eed@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions