]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: ccu-sun8i-a83t: Make use of the helper function devm_platform_ioremap_...
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 08:52:12 +0000 (16:52 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:03:22 +0000 (09:03 +0200)
commit52fc7501cd0af50c40d28758c5b426ffc3412748
treea89319c2958d1aa9b39c7de3bc585a6fdf07e50d
parenta917084d1a8eba83a78eb57164e28d0406d57f0a
clk: sunxi-ng: ccu-sun8i-a83t: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210907085213.4662-1-caihuoqing@baidu.com
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c