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

Daniel Lezcano
2024-01-09T17:29:34Z

On 09/01/2024 17:42, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> 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 <rafael.j.wysocki@intel.com>

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

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