diff options
author | Andy Shevchenko <[email protected]> | 2021-05-10 12:50:23 +0300 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2021-05-28 11:59:59 +0200 |
commit | a43a4e588e72bafc81924d61bf1167cd6810ecbb (patch) | |
tree | f98889e0c0b79ad5bf0b9cc0d421f946d59e7e3a /lib/mpi/mpi-sub-ui.c | |
parent | 0ac40af86077982a5346dbc9655172d2775d6b08 (diff) |
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 <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions