input: ad7879: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 15:35:27 +0000 (16:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:54:42 +0000 (10:54 +0200)
commitd94780444bf3da8fc35e281aec6bbffa54a4a01a
tree3632e13d6df25de08b30365009e12ce87e47718b
parent839850f4fb76b56fcad3cabe27fc9f1a03821a2c
input: ad7879: 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().

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/touchscreen/ad7879.c