]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47fb16363b2548ea50cab9deade420bcb9c863d8
tree1dee215a2d46cb518c52edb75ef188ef80b6dc22
parent432fc5532a0f6cde15ac10194291523ae5b64f63
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