diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-14 10:33:03 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-22 14:39:26 +0100 |
commit | b514a1b29df8aadba641f8cb8153aa386489eb37 (patch) | |
tree | 03051964958fe2aa49cdeb9c5c97dfe972ae8448 /drivers/pwm/pwm-twl.c | |
parent | 76b4accb7c62d904f7e3c78d2ded7041cd662b21 (diff) | |
download | linux-b514a1b29df8aadba641f8cb8153aa386489eb37.tar.gz linux-b514a1b29df8aadba641f8cb8153aa386489eb37.tar.bz2 linux-b514a1b29df8aadba641f8cb8153aa386489eb37.zip |
pwm: tiehrpwm: Simplify code to determine the pwmchip's parent device
There is already a pointer to the pwmchip, make use of it directly
instead of using the struct ehrpwm_pwm_chip *ddata just obtained from
it. This also has the advantage of not using struct
ehrpwm_pwm_chip::chip any more which will be dropped soon.
Link: https://lore.kernel.org/r/b2b06a3aabf8c04969d59ddf7ba565b303855878.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-twl.c')
0 files changed, 0 insertions, 0 deletions