[PATCH v2] PM / devfreq: sun8i-a33-mbus: Simplify by using more devm functions

Corentin Labbe clabbe.montjoie at gmail.com
Wed May 14 06:16:31 PDT 2025


Le Tue, May 13, 2025 at 10:39:02PM +0200, Uwe Kleine-König a écrit :
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> Use devm allocators for enabling the bus clock and
> clk_rate_exclusive_get(). This simplifies error handling and the remove
> callback.
> 
> Reviewed-by: Chen-Yu Tsai <wens at csie.org>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> ---

Tested-by: Corentin LABBE <clabbe.montjoie at gmail.com>
Tested-on: sun8i-a33-olinuxino

Thanks
Regards



More information about the linux-arm-kernel mailing list