Commit c3bc3613 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Chanwoo Choi
Browse files

PM / devfreq: sun8i-a33-mbus: Simplify by using more devm functions



Use devm allocators for enabling the bus clock and
clk_rate_exclusive_get(). This simplifies error handling and the remove
callback.

Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tested-by: default avatarCorentin LABBE <clabbe.montjoie@gmail.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20250513203908.205060-2-u.kleine-koenig@baylibre.com/


Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 78c5845f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment