[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <72dceb1f-64e7-c6dd-20c6-486e4002bbbc@linaro.org>
Date: Thu, 12 Nov 2020 12:15:30 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Bernard <bernard@...o.com>, Zhang Rui <rui.zhang@...el.com>,
Amit Kucheria <amitk@...nel.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: opensource.kernel@...o.com
Subject: Re: [Resend][PATCH] drivers/thermal: cleanup coding style a bit
On 10/11/2020 09:10, Bernard wrote:
> Function thermal_add_hwmon_sysfs, hwmon will be NULL when
> new_hwmon_device = 0, so there is no need to check, kfree will
> handle NULL point.
>
> Signed-off-by: Bernard Zhao <bernard@...o.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