diff options
author | 2024-07-16 19:34:51 +0200 | |
---|---|---|
committer | 2024-09-02 12:43:20 +0200 | |
commit | 27fec3cc9ee42fcf21f4527d60dbc1f824e592b1 (patch) | |
tree | 245f2bd9f76bee12cfb2da3b9327297836385887 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dt-bindings: thermal: amlogic,thermal: add optional power-domains (diff) | |
download | wireguard-linux-27fec3cc9ee42fcf21f4527d60dbc1f824e592b1.tar.xz wireguard-linux-27fec3cc9ee42fcf21f4527d60dbc1f824e592b1.zip |
thermal/drivers/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.
Remove those guards on every ST thermal related drivers.
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Link: https://lore.kernel.org/r/20240716-thermal-v4-1-947b327e165c@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions