diff options
| author | Uwe Kleine-König <[email protected]> | 2024-02-14 10:30:48 +0100 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-15 12:37:29 +0100 |
| commit | 4e59267c7a20eb1c1ad9106e682cb6a0d8eb3111 (patch) | |
| tree | 46ff9d6257227c59bd4416d733a11f2eddf41f16 /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | eb58bf4afd708eb3c64c7b9b2c5fbfacdcdee3e5 (diff) | |
pwm: Provide an inline function to get the parent device of a given chip
Currently a pwm_chip stores in its struct device *dev member a pointer
to the parent device. Preparing a change that embeds a full struct
device in struct pwm_chip, this accessor function should be used in all
drivers directly accessing chip->dev now. This way struct pwm_chip and
this new function can be changed without having to touch all drivers in
the same change set.
Make use of this function in the framework's core sources.
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/cc30090d2f9762bed9854a55612144bccc910781.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions