]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: axi-clkgen: use devm_platform_ioremap_resource() short-hand
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 1 Feb 2021 15:12:45 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 09:59:35 +0000 (10:59 +0100)
commita3b5bcafd08ed67fa7b17d63ecca361da8eb1045
treea1ad8139f2865819c6c1d8095b96e57c08d00e45
parented966cc23cfda167b567630374da6b63bb00e561
clk: axi-clkgen: use devm_platform_ioremap_resource() short-hand

[ Upstream commit 6ba7ea7630fb03c1ce01508bdf89f5bb39b38e54 ]

No major functional change. Noticed while checking the driver code that
this could be used.
Saves two lines.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210201151245.21845-5-alexandru.ardelean@analog.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Stable-dep-of: c64ef7e4851d ("clk: clk-axi-clkgen: make sure to enable the AXI bus clock")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/clk-axi-clkgen.c