]> asedeno.scripts.mit.edu Git - linux.git/commit
input: adp5588-keys: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 15:29:50 +0000 (16:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:33:44 +0000 (15:33 +0200)
commitd3baee37f1488b0dea726597bb12a0086b233f8b
treef62588264a32fda53ccbdf37990328eff1bde5d4
parent59851aa87c2ca92a1fd6b73e78a254242306b116
input: adp5588-keys: use gpiochip data pointer

This makes the driver use the data pointer added to the gpio_chip
to store a pointer to the state container instead of relying on
container_of().

Cc: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/input/keyboard/adp5588-keys.c