[PATCH 5/5] reset: lpc18xx: simplify with devm_clk_get_enabled()

Vladimir Zapolskiy vz at mleia.com
Sun Aug 25 13:16:18 PDT 2024


On 8/25/24 17:14, Krzysztof Kozlowski wrote:
> Use devm_clk_get_enabled() to drop clock prepare/unprepare parts and
> make code simpler.  Change to dev_err_probe() in handling
> reset_controller_register() error to make it even simpler.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Acked-by: Vladimir Zapolskiy <vz at mleia.com>
Reviewed-by: Vladimir Zapolskiy <vz at mleia.com>

--
Best wishes,
Vladimir



More information about the linux-riscv mailing list