aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-clps711x.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-02-14 09:31:11 +0000
committerUwe Kleine-König <[email protected]>2024-02-15 11:59:20 +0000
commit8e87e3dcb298d467e4f69c8c2565a3f9b836232c (patch)
tree120a797be7f663b6a0861237783b93301a88e5c1 /drivers/pwm/pwm-clps711x.c
parentpwm: clk: Prepare removing pwm_chip from driver data (diff)
downloadkernel-8e87e3dcb298d467e4f69c8c2565a3f9b836232c.tar.gz
kernel-8e87e3dcb298d467e4f69c8c2565a3f9b836232c.zip
pwm: clk: Make use of devm_pwmchip_alloc() function
This prepares the pwm-clk 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_pwm_clk_chip() helper macro to a static inline to get some type safety. Link: https://lore.kernel.org/r/c02ccc955fe7a0aec7ce0ccaf5cd2bd902ae687f.1707900770.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-clps711x.c')
0 files changed, 0 insertions, 0 deletions