]> 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)
commit773cb393ff7a219108ac9229b3e9a9d5fdfdad85
tree1dee215a2d46cb518c52edb75ef188ef80b6dc22
parentdc455c8ce1ff0f6b53c531cb69c0d02a3d862da3
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