clk: socfpga: agilex: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 08:51:36 +0000 (16:51 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 6 Jan 2022 00:43:41 +0000 (16:43 -0800)
commitee4abc4c5cf6a745be64a4f537c08040357827c3
tree857b1be42f8086baff06aa4c7612d1b50eafc18a
parent5c58585090a9ac3fbdf45ef584caa3a755b8ceda
clk: socfpga: agilex: 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>
Link: https://lore.kernel.org/r/20210907085137.4407-1-caihuoqing@baidu.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/socfpga/clk-agilex.c