diff options
| author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-10 12:50:23 +0300 |
|---|---|---|
| committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 12:59:59 +0300 |
| commit | a43a4e588e72bafc81924d61bf1167cd6810ecbb (patch) | |
| tree | f98889e0c0b79ad5bf0b9cc0d421f946d59e7e3a /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 0ac40af86077982a5346dbc9655172d2775d6b08 (diff) | |
| download | linux-a43a4e588e72bafc81924d61bf1167cd6810ecbb.tar.xz | |
leds: el15203000: Introduce to_el15203000_led() helper
Introduce a helper to replace open coded container_of() calls.
At the same time move ldev member to be first in the struct el15203000_led,
that makes container_of() effectivelly a no-op.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
