Input: ad7879 - drop platform data support
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Nov 2018 17:48:18 +0000 (09:48 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 15 Nov 2018 17:52:26 +0000 (09:52 -0800)
commit1be7aa9b6eb91975800b880481f077c01ae01a26
treeed9a1cc32c7af7402863d785a4ae1aa0279a240e
parentf39f8688888ae74fa8deae2d01289b69b4727394
Input: ad7879 - drop platform data support

This driver supports configuration via platform data but
absolutely nothing in the upstream kernel uses it. Since this
configuration allows harmful practices such as encoding the
GPIO base for the chip, delete platform data support so that
no new platform using it gets introduced.

Also: include the right driver header, not <linux/gpio.h>.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ad7879.c
include/linux/platform_data/ad7879.h [deleted file]