summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-xilinx.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-14 12:33:15 +0300
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-22 16:39:27 +0300
commitae8635e99c5cc752e204ab9ee8869ec54a9223f0 (patch)
tree88f198301166053a64de3a315b2cdbddb9c3ca7d /drivers/pwm/pwm-xilinx.c
parent68e34b3e6629b747c1d4ec1813455221a56d3b4a (diff)
downloadlinux-ae8635e99c5cc752e204ab9ee8869ec54a9223f0.tar.xz
pwm: vt8500: Make use of devm_pwmchip_alloc() function
This prepares the pwm-vt8500 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_vt8500_chip() helper macro to a static inline to get some type safety. Link: https://lore.kernel.org/r/b203c4448db23ebad1165b7bce43ac41468c4e89.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-xilinx.c')
0 files changed, 0 insertions, 0 deletions