clock: milbeaut: use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 11 Nov 2022 06:39:35 +0000 (14:39 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 29 Mar 2023 21:48:32 +0000 (14:48 -0700)
commit6cba789f8982b38be37daa1b67b8488710b47b29
treeb8d23bb04079e8cd6234b93aa0f14cb60098777f
parent12ca59b91d04df32e41be5a52f0cabba912c11de
clock: milbeaut: use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/202211111439357842458@zte.com.cn
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-milbeaut.c