aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2015-01-30 10:56:05 +0100
committerLinus Walleij <[email protected]>2015-02-03 13:35:57 +0100
commit37fc8a92daf5e775a18790ccd935240ef72ddd83 (patch)
tree3630ae6ba5244199562e515ffab9ec3962c30ef2 /tools/perf/util/scripting-engines/trace-event-perl.c
parent9e089246a53cce0e14f04fb24de0e1bc62ec5400 (diff)
gpio: max732x: use an inline function for container cast
Cast the struct gpio_chip into a max732x_chip using an inline macro and move the assignment to the variable declaration to save lines and simplify things. Cc: Semen Protsenko <[email protected]> Acked-by: Mans Rullgard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions