pinctrl: mvebu: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 16 Oct 2019 14:12:17 +0000 (22:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Oct 2019 12:04:13 +0000 (14:04 +0200)
commitfa679767addededcff5b35fadb95028542e3ff0a
tree3c69bea27ff59f793789316695473176c6e02109
parent6571317713c88cfcc647b58475b5dc943c16cc45
pinctrl: mvebu: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20191016141217.21520-1-yuehaibing@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-mvebu.c
drivers/pinctrl/mvebu/pinctrl-orion.c