Input: gpio_mouse - kill off platform data
commitc5053e695d621f8a8a3992c5e93dd3be088fa267
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Oct 2017 23:19:03 +0000 (19 16:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Oct 2017 00:08:37 +0000 (19 17:08 -0700)
treef78d6dbdb282a7a636d8a1ebbb53e9a633f2f00d
parent60942e674e9d3400722d09b11ba0119ca707a1f0
Input: gpio_mouse - kill off platform data

This is not used much: git grep  gpio_mouse_platform_data shows
that absolutely nothing in the kernel defines this platform
data.

It could be argued that the driver should be deleted. But that
is a bit harsh I think since it seems generally useful. So
this patch starts a series which repurposes it to be used with
hardware nodes from device tree or ACPI.

This first patch simply localize the platform data header and
allocates a dummy platform data.

Yes: this patch leaves the driver in a pretty useless state,
but since nothing is instantiating this driver, it doesn't
make it more useless than it already is. Later patches makes
use of the driver.

Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/gpio_mouse.c
include/linux/gpio_mouse.h [deleted file]