Skip to content
Commit 7bb732fe authored by Hesham Almatary's avatar Hesham Almatary Committed by Rafael J. Wysocki
Browse files

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: default avatarHesham Almatary <hesham.almatary@huawei.com>
Reviewed-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ce522ba9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment