On 16:55-20150206, [email protected] wrote:
> From: Grygorii Strashko <[email protected]>
> 
> 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)
>             ^
> Signed-off-by: Grygorii Strashko <[email protected]>
> ---
>  drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c 
> b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> index 74c0e34..5d46660 100644
> --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> @@ -1402,7 +1402,7 @@ int ti_bandgap_remove(struct platform_device *pdev)
>       return 0;
>  }
>  
> -#ifdef CONFIG_PM
> +#ifdef CONFIG_PM_SLEEP
>  static int ti_bandgap_save_ctxt(struct ti_bandgap *bgp)
>  {
>       int i;
> -- 
> 1.9.1
> 

Suggest aligning with Paul as well:
https://patchwork.kernel.org/patch/5795391/

Otherwise:
Acked-by: Nishanth Menon <[email protected]>

-- 
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to