Skip to content
Commit 3992b62d authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Eduardo Valentin
Browse files

thermal: ti-soc-thermal: bandgap: Fix build warning if !CONFIG_PM_SLEEP



Fix following build warning if CONFIG_PM_SLEEP is not set:

drivers/thermal/ti-soc-thermal/ti-bandgap.c:1478:12: warning: 'ti_bandgap_suspend' defined but not used [-Wunused-function]
 static int ti_bandgap_suspend(struct device *dev)
            ^
drivers/thermal/ti-soc-thermal/ti-bandgap.c:1492:12: warning: 'ti_bandgap_resume' defined but not used [-Wunused-function]
 static int ti_bandgap_resume(struct device *dev)
            ^
Acked-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarGrygorii Strashko <Grygorii.Strashko@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent c517d838
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