OSDN Git Service

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)
commit3c8a23c29d30eec7a20fbb3e47e5346d9ada687b
treebc0918b6e71e8c50118b9c7637e72fdafbd93687
parentb3495cecb24c8e38e1b0c569c69c983b6a2d6d9c
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]