pinctrl: st: Make use of the devm_platform_ioremap_resource_byname()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Nov 2021 12:42:38 +0000 (14:42 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Nov 2021 16:40:10 +0000 (18:40 +0200)
commit3809671d95a1c400ecf8235d1dc3e5b352aee242
tree1dee215a2d46cb518c52edb75ef188ef80b6dc22
parentf972707662dbaf066d055a507c0654e4bb6e659e
pinctrl: st: Make use of the devm_platform_ioremap_resource_byname()

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-st.c