aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-berlin.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-14 10:31:01 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-15 12:59:20 +0100
commitdfab73eb282969725f0c327652fd4d9c6f208e2c (patch)
tree181daf69b67d7d2e1c615f5a5f98cde16e460b79 /drivers/pwm/pwm-berlin.c
parentpwm: atmel-tcb: Make use of pwmchip_parent() accessor (diff)
downloadlinux-rng-dfab73eb282969725f0c327652fd4d9c6f208e2c.tar.xz
linux-rng-dfab73eb282969725f0c327652fd4d9c6f208e2c.zip
pwm: atmel-tcb: Prepare removing pwm_chip from driver data
This prepares the driver for further changes that will drop struct pwm_chip chip from struct atmel_tcb_pwm_chip. Use the pwm_chip as driver data instead of the atmel_tcb_pwm_chip to get access to the pwm_chip in the .suspend() and .resume() callbacks and atmel_tcb_pwm_remove() without using tcbpwm->chip. Link: https://lore.kernel.org/r/6a90083e9d1ab1c34422161593d6d7a669143217.1707900770.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-berlin.c')
0 files changed, 0 insertions, 0 deletions