input: remove dead CSR Prima2 PWRC driver
Subsystems (3)
PATCH 1/1 input: remove dead CSR Prima2 PWRC driver
Commit f3a732843acc ("ARM: remove sirf prima2/atlas platforms") removes the config ARCH_SIRF in ./arch/arm/mach-prima2/Kconfig.
Hence, since then, the corresponding CSR Prima2 PWRC Driver is dead code. Remove this dead driver.
--- drivers/input/misc/Kconfig | 10 -- drivers/input/misc/Makefile | 1 - drivers/input/misc/sirfsoc-onkey.c | 207 ----------------------------- 3 files changed, 218 deletions(-) delete mode 100644 drivers/input/misc/sirfsoc-onkey.c
drivers/input/misc/Kconfig +0 -10
@@ -799,16 +799,6 @@ config INPUT_XEN_KBDDEV_FRONTEND To compile this driver as a module, choose M here: the module will be called xen-kbdfront. -config INPUT_SIRFSOC_ONKEY - tristate "CSR SiRFSoC power on/off/suspend key support" - depends on ARCH_SIRF && OF - default y - help - Say Y here if you want to support for the SiRFSoC power on/off/suspend key - in Linux, after you press the onkey, system will suspend. - - If unsure, say N. - config INPUT_IDEAPAD_SLIDEBAR tristate "IdeaPad Laptop Slidebar" depends on INPUT
drivers/input/misc/Makefile +0 -1
@@ -73,7 +73,6 @@ obj-$(CONFIG_INPUT_GPIO_ROTARY_ENCODER) += rotary_encoder.o obj-$(CONFIG_INPUT_RK805_PWRKEY) += rk805-pwrkey.o obj-$(CONFIG_INPUT_SC27XX_VIBRA) += sc27xx-vibra.o obj-$(CONFIG_INPUT_SGI_BTNS) += sgi_btns.o -obj-$(CONFIG_INPUT_SIRFSOC_ONKEY) += sirfsoc-onkey.o obj-$(CONFIG_INPUT_SOC_BUTTON_ARRAY) += soc_button_array.o obj-$(CONFIG_INPUT_SPARCSPKR) += sparcspkr.o obj-$(CONFIG_INPUT_STPMIC1_ONKEY) += stpmic1_onkey.o
drivers/input/misc/sirfsoc-onkey.c deleted +0 -207
207 lines not on this page · raw message
Signature · 1 line
2.26.2
Quoted 8 lines · Lukas Bulwahn
Commit
f3a732843acc("ARM: remove sirf prima2/atlas platforms") removes the configARCH_SIRFin./arch/arm/mach-prima2/Kconfig.Hence, since then, the corresponding CSR Prima2 PWRC Driver is dead code. Remove this dead driver.
Signed-off-by Lukas Bulwahn <[email protected]>
Good catch!
Quoted 7 lines · Lukas Bulwahn
Commit
f3a732843acc("ARM: remove sirf prima2/atlas platforms") removes the configARCH_SIRFin./arch/arm/mach-prima2/Kconfig.Hence, since then, the corresponding CSR Prima2 PWRC Driver is dead code. Remove this dead driver.
Signed-off-by Lukas Bulwahn <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry