]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f8a5797b0af0bd6706d9974ee2cbd004963662f
tree124ff7b4133c7fb100ad010f409c11122a69415f
parenta1910fe421cb2630a9831c89b4823249493d16a5
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