aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx27.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-02-14 09:31:34 +0000
committerUwe Kleine-König <[email protected]>2024-02-19 10:04:09 +0000
commit5911fc37c784e917276c3d6640c604e920eaf78c (patch)
tree5dc8592fc9044aee9c3b4b3ee1c0e7d5ad39aff8 /drivers/pwm/pwm-imx27.c
parentpwm: img: Make use of devm_pwmchip_alloc() function (diff)
downloadkernel-5911fc37c784e917276c3d6640c604e920eaf78c.tar.gz
kernel-5911fc37c784e917276c3d6640c604e920eaf78c.zip
pwm: imx1: Make use of devm_pwmchip_alloc() function
This prepares the pwm-imx1 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_imx1_chip() helper macro to a static inline to get some type safety. Link: https://lore.kernel.org/r/c6995e0d281255a7514edf9f25a561302dcaf65f.1707900770.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions