summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-rockchip.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-14 12:32:17 +0300
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-19 13:04:13 +0300
commit3a284e0eae81790a13f855c9dea750197520d5ea (patch)
tree4b66686beca8cbeb146a944f8f89a857cdea55a6 /drivers/pwm/pwm-rockchip.c
parentf0d907605d421a36af3e8a6274b2a560557e0db6 (diff)
downloadlinux-3a284e0eae81790a13f855c9dea750197520d5ea.tar.xz
pwm: renesas-tpu: Make use of devm_pwmchip_alloc() function
This prepares the pwm-renesas-tpu driver to further changes of the pwm core outlined in the commit introducing devm_pwmchip_alloc(). There is no intended semantical change and the driver should behave as before. Also convert the to_tpu_device() helper macro to a static inline to get some type safety. Link: https://lore.kernel.org/r/aac4a9546b0f474d991144aa925c83cfa7abe2c0.1707900770.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-rockchip.c')
0 files changed, 0 insertions, 0 deletions