summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-bcm-kona.c
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2019-12-29 08:06:08 +0000
committerThierry Reding <thierry.reding@gmail.com>2020-12-17 14:18:46 +0100
commitcecccd8d4af2672725306924cd4987acc6491054 (patch)
tree5545d3d6cf5446dcb34e17cbbf9c2d8c925d3c66 /drivers/pwm/pwm-bcm-kona.c
parent74ec20a4e6a064ac2cdfb577c115cb948b307f0f (diff)
downloadlinux-cecccd8d4af2672725306924cd4987acc6491054.tar.bz2
pwm: hibvt: Convert to devm_platform_ioremap_resource()
Use devm_platform_ioremap_resource() to simplify code. While at it, also declare the "i" and "ret" variables on the same line since they are of the same type. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-bcm-kona.c')
0 files changed, 0 insertions, 0 deletions