Re: [PATCH 2/2] thermal: imx: handle error path in one place to save duplicated code

From: Daniel Lezcano
Date: Thu Sep 13 2018 - 10:16:19 EST


On 13/09/2018 11:13, Anson Huang wrote:
> During probe phase, the error path can be handled in one place and
> use goto method to save many duplicated code.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> ---

Thanks for this cleanup.

Reviewed-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

--
<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