summaryrefslogtreecommitdiff
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-05-10 12:50:23 +0300
committerPavel Machek <pavel@ucw.cz>2021-05-28 11:59:59 +0200
commita43a4e588e72bafc81924d61bf1167cd6810ecbb (patch)
treef98889e0c0b79ad5bf0b9cc0d421f946d59e7e3a /lib/test_vmalloc.c
parent0ac40af86077982a5346dbc9655172d2775d6b08 (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 <andy.shevchenko@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions