diff options
author | 2015-01-30 10:56:05 +0100 | |
---|---|---|
committer | 2015-02-03 13:35:57 +0100 | |
commit | 37fc8a92daf5e775a18790ccd935240ef72ddd83 (patch) | |
tree | 3630ae6ba5244199562e515ffab9ec3962c30ef2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: use sizeof() instead of hardcoded values (diff) | |
download | wireguard-linux-37fc8a92daf5e775a18790ccd935240ef72ddd83.tar.xz wireguard-linux-37fc8a92daf5e775a18790ccd935240ef72ddd83.zip |
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 <semen.protsenko@globallogic.com>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions