diff options
| author | Uwe Kleine-König <[email protected]> | 2024-02-14 09:31:36 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-19 10:04:09 +0000 |
| commit | dcef3929e0b5fb4a5b68b18ba6282f9fbb20d0cc (patch) | |
| tree | 17b0085aa2e4980ae39a8347317ac7f8427437fd /drivers/pwm/pwm-imx-tpm.c | |
| parent | pwm: imx27: Make use of pwmchip_parent() accessor (diff) | |
| download | kernel-dcef3929e0b5fb4a5b68b18ba6282f9fbb20d0cc.tar.gz kernel-dcef3929e0b5fb4a5b68b18ba6282f9fbb20d0cc.zip | |
pwm: imx27: Make use of devm_pwmchip_alloc() function
This prepares the pwm-imx27 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_imx27_chip() helper macro to a static inline to
get some type safety.
Reviewed-by: Philipp Zabel <[email protected]>
Link: https://lore.kernel.org/r/3da748c80e9bbe29e7c119190dbc4bd67d159f22.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx-tpm.c')
0 files changed, 0 insertions, 0 deletions
