Skip to contentSkip to conversation

Input: pcap_keys: remove unused driver

PATCH Applied Arnd Bergmann 2 participants 4 messages Apr 30 – May 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Input: pcap_keys: remove unused driver

From: Arnd Bergmann <[email protected]>

Support for the ezx series of phones was removed in 2022, this driver is just dead code.

---
 drivers/input/misc/Kconfig     |  10 ---
 drivers/input/misc/Makefile    |   1 -
 drivers/input/misc/pcap_keys.c | 125 ---------------------------------
 3 files changed, 136 deletions(-)
 delete mode 100644 drivers/input/misc/pcap_keys.c
drivers/input/misc/Kconfig +0 -10
index 94a753fcb64f..1f6c57dba030 100644
@@ -745,16 +745,6 @@ config INPUT_WM831X_ON
 	  To compile this driver as a module, choose M here: the module
 	  will be called wm831x_on.
 
-config INPUT_PCAP
-	tristate "Motorola EZX PCAP misc input events"
-	depends on EZX_PCAP
-	help
-	  Say Y here if you want to use Power key and Headphone button
-	  on Motorola EZX phones.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called pcap_keys.
-
 config INPUT_ADXL34X
 	tristate "Analog Devices ADXL34x Three-Axis Digital Accelerometer"
 	default n
drivers/input/misc/Makefile +0 -1
index 415fc4e2918b..2281d6803fce 100644
@@ -60,7 +60,6 @@ obj-$(CONFIG_INPUT_MAX8997_HAPTIC)	+= max8997_haptic.o
 obj-$(CONFIG_INPUT_MC13783_PWRBUTTON)	+= mc13783-pwrbutton.o
 obj-$(CONFIG_INPUT_MMA8450)		+= mma8450.o
 obj-$(CONFIG_INPUT_PALMAS_PWRBUTTON)	+= palmas-pwrbutton.o
-obj-$(CONFIG_INPUT_PCAP)		+= pcap_keys.o
 obj-$(CONFIG_INPUT_PCF8574)		+= pcf8574_keypad.o
 obj-$(CONFIG_INPUT_PCSPKR)		+= pcspkr.o
 obj-$(CONFIG_INPUT_PF1550_ONKEY)	+= pf1550-onkey.o
drivers/input/misc/pcap_keys.c deleted +0 -125

125 lines not on this page · raw message

Signature · 1 line
2.39.5
#1 lore raw

PATCH 2/2 input: pcap_ts - remove unused driver

From: Arnd Bergmann <[email protected]>

Support for the ezx series of phones was removed in 2022, this driver is just dead code.

---
 drivers/input/touchscreen/Kconfig   |  10 --
 drivers/input/touchscreen/Makefile  |   1 -
 drivers/input/touchscreen/pcap_ts.c | 252 ----------------------------
 3 files changed, 263 deletions(-)
 delete mode 100644 drivers/input/touchscreen/pcap_ts.c
drivers/input/touchscreen/Kconfig +0 -10
index aeaf9a9cbb41..484522d8d675 100644
@@ -1178,16 +1178,6 @@ config TOUCHSCREEN_TSC2007_IIO
 	  or ambient light monitoring), temperature and raw input
 	  values.
 
-config TOUCHSCREEN_PCAP
-	tristate "Motorola PCAP touchscreen"
-	depends on EZX_PCAP
-	help
-	  Say Y here if you have a Motorola EZX telephone and
-	  want to enable support for the built-in touchscreen.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called pcap_ts.
-
 config TOUCHSCREEN_RM_TS
 	tristate "Raydium I2C Touchscreen"
 	depends on I2C
drivers/input/touchscreen/Makefile +0 -1
index f2b002abebe8..6d397268d2e3 100644
@@ -74,7 +74,6 @@ obj-$(CONFIG_TOUCHSCREEN_HP7XX)		+= jornada720_ts.o
 obj-$(CONFIG_TOUCHSCREEN_IPAQ_MICRO)	+= ipaq-micro-ts.o
 obj-$(CONFIG_TOUCHSCREEN_HTCPEN)	+= htcpen.o
 obj-$(CONFIG_TOUCHSCREEN_USB_COMPOSITE)	+= usbtouchscreen.o
-obj-$(CONFIG_TOUCHSCREEN_PCAP)		+= pcap_ts.o
 obj-$(CONFIG_TOUCHSCREEN_PENMOUNT)	+= penmount.o
 obj-$(CONFIG_TOUCHSCREEN_PIXCIR)	+= pixcir_i2c_ts.o
 obj-$(CONFIG_TOUCHSCREEN_RM_TS)		+= raydium_i2c_ts.o
drivers/input/touchscreen/pcap_ts.c deleted +0 -252

252 lines not on this page · raw message

Signature · 1 line
2.39.5
maintainer Applied
#2 lore raw

Re: [PATCH 2/2] input: pcap_ts - remove unused driver

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Support for the ezx series of phones was removed in 2022, this driver is just dead code.

Applied, thank you!

From sashiko:

"Does removing this config leave a dangling CONFIG_TOUCHSCREEN_PCAP=m entry in arch/arm/configs/pxa_defconfig? Would it be better to clean up that entry as well to avoid a defconfig warning?"

Signature · 1 line
Dmitry