Messages in this thread | | | Subject | Re: [Resend][PATCH] drivers/thermal: cleanup coding style a bit | From | Daniel Lezcano <> | Date | Thu, 12 Nov 2020 12:15:30 +0100 |
| |
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@vivo.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
| |