2024-01-09 17:29:51

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH v1 2/2] thermal: helpers: Rearrange thermal_cdev_set_cur_state()

On 09/01/2024 17:42, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <[email protected]>
>
> Change the code layout in thermal_cdev_set_cur_state() so it returns
> early on errors which is more consistent with what happens elsewhere.
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <[email protected]>

Reviewed-by: Daniel Lezcano <[email protected]>


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