diff options
| author | Uwe Kleine-König <[email protected]> | 2024-02-14 10:32:40 +0100 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-22 14:39:24 +0100 |
| commit | da665d25f4cbf82a847a9fa85eb8554ebc9e8bc1 (patch) | |
| tree | 55a11dc31d348777eaa657a1c11edae8931f1d4b /tools/perf/scripts/python | |
| parent | 3f7dc7d863cd1d7a35165a0aeb8e28a637390097 (diff) | |
pwm: stm32: 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 stm32_pwm *priv just obtained from it. This
also has the advantage of not using struct stm32_pwm::chip any more
which will be dropped soon.
Link: https://lore.kernel.org/r/54ace92a3c02d22f15a79c7ecf00c29f28386a33.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions