[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 3 Mar 2020 10:02:35 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Anson Huang <Anson.Huang@....com>, rui.zhang@...el.com,
amit.kucheria@...durent.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Linux-imx@....com, Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH 1/2] thermal: Fix build warning of
!defined(CONFIG_THERMAL_OF)
On 03/03/2020 09:04, Anson Huang wrote:
> Add "inline" to thermal_zone_of_get_sensor_id() function to avoid below
> build warning of !defined(CONFIG_THERMAL_OF).
>
> In file included from drivers/hwmon/hwmon.c:22:
> include/linux/thermal.h:382:12: warning: 'thermal_zone_of_get_sensor_id'
> defined but not used [-Wunused-function]
> 382 | static int thermal_zone_of_get_sensor_id(struct device_node *tz_np,
>
> Signed-off-by: Anson Huang <Anson.Huang@....com>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists