diff options
| author | Uwe Kleine-König <[email protected]> | 2024-02-14 09:32:38 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-22 13:39:21 +0000 |
| commit | 54272761ce7c475fa30a31b59b0cb89f7652b39e (patch) | |
| tree | 99800b0831bc47afcdae54dda5a704d3d4d20f31 /drivers/pwm/pwm-stm32.c | |
| parent | pwm: sprd: Make use of devm_pwmchip_alloc() function (diff) | |
| download | kernel-54272761ce7c475fa30a31b59b0cb89f7652b39e.tar.gz kernel-54272761ce7c475fa30a31b59b0cb89f7652b39e.zip | |
pwm: sti: Prepare removing pwm_chip from driver data
This prepares the driver for further changes that will drop struct
pwm_chip chip from struct sti_pwm_chip. Use the pwm_chip as driver data
instead of the sti_pwm_chip to get access to the pwm_chip in
sti_pwm_remove() without using pc->chip.
Link: https://lore.kernel.org/r/56d53372aacff6871df4d6c6779c9dac94592696.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions
