pwm: bcm2835: Convert to devm_platform_ioremap_resource()
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 29 Dec 2019 08:06:00 +0000 (08:06 +0000)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 17 Dec 2020 13:18:44 +0000 (14:18 +0100)
commitf57e7d25e5f3cb8724668c3118aee7d9a00ec7f1
treeb845e8949e852035f08aa1b4fa8d6b3c57203517
parent1dcf0523fdb37b0b0d97b07dacce6b99b4d3c0ce
pwm: bcm2835: Convert to devm_platform_ioremap_resource()

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-bcm2835.c