Home
last modified time | relevance | path

Searched hist:"3992 b62d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c3992b62d Fri Feb 06 08:55:46 CST 2015 Grygorii Strashko <Grygorii.Strashko@linaro.org> 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: Nishanth Menon <nm@ti.com>
Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
3992b62d Fri Feb 06 08:55:46 CST 2015 Grygorii Strashko <Grygorii.Strashko@linaro.org> 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: Nishanth Menon <nm@ti.com>
Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>