Input: hp_sdc_rtc - remove dead chardev code
authorArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 20:37:21 +0000 (13:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Oct 2019 22:56:08 +0000 (15:56 -0700)
commitee1b4b2e7c92f892855175e564e091130a59d707
tree67230571e9a35700b6c7f5774eb4d940c6bf58c7
parent688f1dfb69b4efd111121d0b185c7eec1b184a00
Input: hp_sdc_rtc - remove dead chardev code

The driver contains half of the implementation of /dev/rtc, but this
was never completed, and it is now incompatible with the drivers/rtc
framework.

Remove the chardev completely. If anyone wants to add the functionality
later, that shoudl be done through rtc_register_device().

The remaining portions of the driver basically implement a single
procfs file that may or may not be used anywhere. Not sure why this
is in drivers/input/ though.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://lore.kernel.org/r/20191023142521.3643152-1-arnd@arndb.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/hp_sdc_rtc.c