Input: gpio_mouse - add device tree probing
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Oct 2017 23:28:46 +0000 (16:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Oct 2017 00:08:46 +0000 (17:08 -0700)
commitadb77b3e5118d2760621d8cc740524b816f9006b
tree5d49dd1e83c73254b4e4e1930fc5a7a1ed7aa733
parent836bd419833ce581a2450fc237f89551c841a156
Input: gpio_mouse - add device tree probing

This makes the GPIO mouse probe nicely from the device tree if found in a
tree. As the driver uses device properties it can easily be amended to also
probe from ACPI devices.

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