pwm: imx: Convert to devm_platform_ioremap_resource()
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 29 Dec 2019 08:05:58 +0000 (08:05 +0000)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 17 Dec 2020 13:18:43 +0000 (14:18 +0100)
commit860b1ca0eabc8c2199c5edd9226f214b085c3f9b
tree7b5c710e9fd2ff83733a6e41de613fa26ee9622f
parentdc13c0f61e31c9c00b072ba2d851362fbdd25bfa
pwm: imx: 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-imx1.c