pwm: mediatek: Convert to devm_platform_ioremap_resource()
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 29 Dec 2019 08:05:45 +0000 (08:05 +0000)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 17 Dec 2020 13:18:40 +0000 (14:18 +0100)
commit7681c2bd2ab2dd1470793694cadcf3487282ffae
tree36ad61a4917656a054e4302195364d33cd6f421a
parentfa44fe41cc75523b835bf6f625ee1cbf3d0c566b
pwm: mediatek: 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-mediatek.c