]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: stm32-vrefbuf: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Oct 2019 15:01:38 +0000 (23:01 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Oct 2019 17:16:56 +0000 (18:16 +0100)
commita1910fe421cb2630a9831c89b4823249493d16a5
treee973e0117317ef05f60e63ecc49f50d09e1177f2
parentbd8836d2c3273ed3f446db52608d8686d83818a6
regulator: stm32-vrefbuf: 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/20191009150138.11640-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/stm32-vrefbuf.c