summaryrefslogtreecommitdiff
path: root/drivers/thermal/devfreq_cooling.c
diff options
context:
space:
mode:
authorHesham Almatary <hesham.almatary@huawei.com>2022-03-24 13:34:43 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-04-13 17:37:28 +0300
commit7bb732fea3944171afa45b4a71298f822589c8a6 (patch)
treed4aca09877058c96e553f1b81bc414dd53d268e3 /drivers/thermal/devfreq_cooling.c
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e (diff)
downloadlinux-7bb732fea3944171afa45b4a71298f822589c8a6.tar.xz
thermal: hisi_termal: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
Cleaning up the driver to use pm_sleep_ptr() macro instead of #ifdef guards is simpler and allows the compiler to remove those functions if built without CONFIG_PM_SLEEP support. Signed-off-by: Hesham Almatary <hesham.almatary@huawei.com> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/devfreq_cooling.c')
0 files changed, 0 insertions, 0 deletions