]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gpio_tilt - delete driver
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Jan 2018 06:49:29 +0000 (22:49 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 Jan 2018 06:54:42 +0000 (22:54 -0800)
commitff82acc12ba1f0c811b9587f20ada43b9f2a3ad5
treebc0918b6e71e8c50118b9c7637e72fdafbd93687
parentf9c2d9f8b51c52261e7b728a21869e19f2aac6bf
Input: gpio_tilt - delete driver

This driver was merged in 2011 as a tool for detecting the orientation
of a screen. The device driver assumes board file setup using the
platform data from <linux/input/gpio_tilt.h>. But no boards in the
kernel tree defines this platform data.

As I am faced with refactoring drivers to use GPIO descriptors and
pass decriptor tables from boards, or use the device tree device
drivers like these creates a serious problem: I cannot fix them and
cannot test them, not even compile-test them with a system actually
using it (no in-tree boardfile).

I suggest to delete this driver and rewrite it using device tree if
it is still in use on actively maintained systems.

I can also offer to rewrite it out of the blue using device tree if
someone promise to test it and help me iterate it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Patchwork-Id: 10133609
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/gpio/drivers-on-gpio.txt
Documentation/input/devices/gpio-tilt.rst [deleted file]
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/gpio_tilt_polled.c [deleted file]
include/linux/input/gpio_tilt.h [deleted file]