diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2019-12-29 08:06:08 +0000 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 14:18:46 +0100 |
commit | cecccd8d4af2672725306924cd4987acc6491054 (patch) | |
tree | 5545d3d6cf5446dcb34e17cbbf9c2d8c925d3c66 /drivers/pwm/pwm-bcm-kona.c | |
parent | 74ec20a4e6a064ac2cdfb577c115cb948b307f0f (diff) | |
download | linux-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