diff options
author | 2025-08-20 20:03:10 +0200 | |
---|---|---|
committer | 2025-08-21 13:14:10 +0100 | |
commit | 7c7cda81159b1abe7d50bcef2ccc6f662e225c8b (patch) | |
tree | d78451c13f569b592abd9bd94351bd450c341e4d /tools/perf/scripts/python | |
parent | spi: spi-qpic-snand: fix calculating of ECC OOB regions' properties (diff) | |
download | wireguard-linux-7c7cda81159b1abe7d50bcef2ccc6f662e225c8b.tar.xz wireguard-linux-7c7cda81159b1abe7d50bcef2ccc6f662e225c8b.zip |
spi: st: fix PM macros to use CONFIG_PM instead of CONFIG_PM_SLEEP
pm_sleep_ptr() depends on CONFIG_PM_SLEEP while pm_ptr() depends on
CONFIG_PM. Since ST SSC4 implements runtime PM it makes sense using
pm_ptr() here.
For the same reason replace PM macros that use CONFIG_PM. Doing so
prevents from using __maybe_unused attribute of runtime PM functions.
Link: https://lore.kernel.org/lkml/CAMuHMdX9nkROkAJJ5odv4qOWe0bFTmaFs=Rfxsfuc9+DT-bsEQ@mail.gmail.com
Fixes: 6f8584a4826f ("spi: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()")
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250820180310.9605-1-rgallaispou@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions