Re: [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-21 Thread Eduardo Valentin
Hello Lee, On Wed, Nov 19, 2014 at 04:40:40PM +, Lee Jones wrote: > On Wed, 19 Nov 2014, Fabio Estevam wrote: > > > On Wed, Nov 19, 2014 at 1:50 PM, Lee Jones wrote: > > > Prevents build warning: > > > > > > st_thermal.c:278:12: > > > warning: ‘st_thermal_suspend’ defined but not used [

Re: [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Lee Jones
On Wed, 19 Nov 2014, Fabio Estevam wrote: > On Wed, Nov 19, 2014 at 1:50 PM, Lee Jones wrote: > > 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’ defin

Re: [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Fabio Estevam
On Wed, Nov 19, 2014 at 1:50 PM, Lee Jones wrote: > 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] > > Signed-off-by: Le

Re: [STLinux Kernel] [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Lee Jones
On Wed, 19 Nov 2014, Maxime Coquelin wrote: > > On 11/19/2014 02:48 PM, Lee Jones wrote: > >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 n

[PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Lee Jones
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] Signed-off-by: Lee Jones --- v1 => v2: - CONFIG_PM => CONFIG_PM_SLEEP suggested

Re: [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Lee Jones
On Wed, 19 Nov 2014, Fabio Estevam wrote: > On Wed, Nov 19, 2014 at 11:48 AM, Lee Jones wrote: > > 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’ defi

Re: [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Fabio Estevam
On Wed, Nov 19, 2014 at 11:48 AM, Lee Jones wrote: > 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] > > Signed-off-by: L

Re: [STLinux Kernel] [PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Maxime Coquelin
On 11/19/2014 02:48 PM, Lee Jones wrote: 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] Signed-off-by: Lee Jones You can a

[PATCH] thermal: sti: Ignore suspend/resume functions when !PM

2014-11-19 Thread Lee Jones
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] Signed-off-by: Lee Jones --- drivers/thermal/st/st_thermal.c | 3 +++ 1 file cha