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

From: Fabio Estevam
Date: Wed Nov 19 2014 - 11:09:46 EST


On Wed, Nov 19, 2014 at 1:50 PM, Lee Jones <lee.jones@xxxxxxxxxx> 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 <lee.jones@xxxxxxxxxx>
> ---
>
> v1 => v2:
> - CONFIG_PM => CONFIG_PM_SLEEP suggested by David Paris.

You should also update the Subject to 'when !PM_SLEEP'
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/