regulator: uniphier: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Oct 2019 15:02:03 +0000 (23:02 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Oct 2019 17:17:15 +0000 (18:17 +0100)
commit907becb2638df95b78581381bed225c4f3e35799
tree124ff7b4133c7fb100ad010f409c11122a69415f
parent73511a90b74c9cfb6509dae63ec4db2d96b7b203
regulator: uniphier: 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/20191009150203.8052-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/uniphier-regulator.c