[PATCH v2 4/8] thermal/drivers/sun8i: replace devm_reset_control_get to devm_reset_control_get_shared_deasserted
Chen-Yu Tsai
wens at csie.org
Sun Jul 6 10:13:31 PDT 2025
On Thu, Jul 3, 2025 at 11:13 PM iuncuim <iuncuim at gmail.com> wrote:
>
> From: Mikhail Kalashnikov <iuncuim at gmail.com>
>
> The A523 processor has two temperature controllers, but they share a common
> reset line. We can to use devm_reset_control_get_shared_deasserted() instead
> of devm_reset_control_get(). This will simplify the driver.
Nit: I'd probably write:
Make it shared with the shared variant of devm_reset_control_get(), and also
simplify the driver by switching to devm_reset_control_get_shared_deasserted().
> Signed-off-by: Mikhail Kalashnikov <iuncuim at gmail.com>
Reviewed-by: Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list