diff options
| author | Uwe Kleine-König <[email protected]> | 2024-02-14 09:31:51 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-19 10:04:11 +0000 |
| commit | ac4b44cac51c9e3d3235aa12aadf2141e7029b71 (patch) | |
| tree | 55d49c6b6d11905af45728124d7ebe4eee6531dc /drivers/pwm/pwm-lpss.c | |
| parent | pwm: lpc18xx-sct: Make use of devm_pwmchip_alloc() function (diff) | |
| download | kernel-ac4b44cac51c9e3d3235aa12aadf2141e7029b71.tar.gz kernel-ac4b44cac51c9e3d3235aa12aadf2141e7029b71.zip | |
pwm: lpc32xx: Make use of devm_pwmchip_alloc() function
This prepares the pwm-lpc32xx 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_lpc32xx_pwm_chip() helper macro to a static inline
to get some type safety.
Link: https://lore.kernel.org/r/ef26238772ee9ca455a49e9b976a4f66654b26f7.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-lpss.c')
0 files changed, 0 insertions, 0 deletions
