]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: mvebu: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Tue, 4 Jul 2023 12:47:40 +0000 (20:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:01 +0000 (15:11 +0200)
commit255527b8d416bdb6280a89285380d103e0492fd0
treed0fdad9ae11bf9e6cf473d51f36f0164d66dd1a8
parentbef565d739cf82f25a1fb5ff4ad885e3e059093a
pinctrl: mvebu: Use devm_platform_get_and_ioremap_resource()

[ Upstream commit 2d357f25663ddfef47ffe26da21155302153d168 ]

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: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230704124742.9596-2-frank.li@vivo.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Stable-dep-of: c25478419f6f ("pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/mvebu/pinctrl-dove.c