thermal: sti: Ignore suspend/resume functions when !PM_SLEEP
authorLee Jones <lee.jones@linaro.org>
Wed, 19 Nov 2014 15:50:31 +0000 (15:50 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 21 Nov 2014 18:27:37 +0000 (14:27 -0400)
commite60a342bc494228d820dd801e9bfd72fbf829bc4
treeae9486d317c294d499ee0efb6f3f0ad0b2076369
parent2dcd851fe4b4fe60c2f8520bf7668d7e9b2dd76b
thermal: sti: Ignore suspend/resume functions when !PM_SLEEP

Prevents build warning:

st_thermal.c:278:12:
    warning: ‘st_thermal_suspend’ defined but not used [-Wunused-function]
st_thermal.c:286:12:
    warning: ‘st_thermal_resume’ defined but not used [-Wunused-function]

Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/st/st_thermal.c