Re: [PATCH 2/7] thermal: rockchip: Simplify clock logic

From: Heiko Stuebner
Date: Tue Nov 15 2022 - 06:23:30 EST


Am Montag, 31. Oktober 2022, 18:50:53 CET schrieb Sebastian Reichel:
> By using devm_clk_get_enabled() the clock acquisition and
> enabling can be done in one step with automatic error
> handling.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>

Oh nice, I didn't yet know this helper existed.

Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>