]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: sunxi: sun6i-apb0-gates: Make use of the helper function devm_platform_ioremap_r...
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 08:53:04 +0000 (16:53 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:03:23 +0000 (09:03 +0200)
commitac57ffb04b53c19d57ce77146f1b45fc440e9bb8
tree18e87ebc9381c683f0d4312676c05c067bbbaca0
parent1f38b45b115d5f47154d615fe7206783f6a788f4
clk: sunxi: sun6i-apb0-gates: 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/20210907085305.5019-1-caihuoqing@baidu.com
drivers/clk/sunxi/clk-sun6i-apb0-gates.c