pinctrl/rockchip: Make use of the devm_platform_get_and_ioremap_resource()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Nov 2021 12:42:28 +0000 (14:42 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Nov 2021 16:40:09 +0000 (18:40 +0200)
commitfb17dcd73fa9c772188724b63cbf5a3fdbb4e605
tree7e9c17a33f94e564d9cbdf0da96b5fd7037ac17b
parente4dd7fd5ff0acb3f3ed290f52afe20fd840d22b0
pinctrl/rockchip: Make use of the devm_platform_get_and_ioremap_resource()

Use the devm_platform_get_and_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
drivers/pinctrl/pinctrl-rockchip.c