summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRaphael Gallais-Pou <rgallaispou@gmail.com>2024-07-16 19:34:51 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-09-02 12:43:20 +0200
commit27fec3cc9ee42fcf21f4527d60dbc1f824e592b1 (patch)
tree245f2bd9f76bee12cfb2da3b9327297836385887 /scripts/gdb/linux/utils.py
parent77545bdfe4bf11685fa0d75b3639fd443c481988 (diff)
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions