diff options
| author | Uwe Kleine-König <[email protected]> | 2024-02-14 09:32:36 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-22 13:38:54 +0000 |
| commit | aac1b805a61ced530b4d427354a205b4bbff69c6 (patch) | |
| tree | cca1ab8c6d23c21a3f444e634d7168c0ad22f50e /drivers/pwm/pwm-stm32.c | |
| parent | pwm: sprd: Rework how the available channels are counted (diff) | |
| download | kernel-aac1b805a61ced530b4d427354a205b4bbff69c6.tar.gz kernel-aac1b805a61ced530b4d427354a205b4bbff69c6.zip | |
pwm: sprd: Drop duplicated tracking of the parent device
The pwmchip stores a pointer to the parent device, so there is no need
to store another copy in driver private data. Drop struct
sprd_pwm_chip::dev and use the pwm_chip's parent pointer instead.
Tested-by: Chunyan Zhang <[email protected]>
Link: https://lore.kernel.org/r/f85771f4bf659c0fdee30cf117b87fd877bad5e4.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
