Skip to contentSkip to conversation

platform/x86: asus-laptop: switch to using polled mode of input devices

PATCH New Dmitry Torokhov 1 participant 1 message Oct 1, 2019

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

PATCH 1/1 platform/x86: asus-laptop: switch to using polled mode of input devices

We have added polled mode to the normal input devices with the intent of retiring input_polled_dev. This converts Asus laptop driver to use the polling mode of standard input devices and removes dependency on INPUT_POLLDEV.

Also removed no longed needed set_bit(EV_ABS, ...) as input_set_abs_params() does it for us.

---
 drivers/platform/x86/Kconfig       |  1 -
 drivers/platform/x86/asus-laptop.c | 70 +++++++++++++++---------------
 2 files changed, 35 insertions(+), 36 deletions(-)
drivers/platform/x86/Kconfig +0 -1
index 1b67bb578f9f..f0a93f630455 100644
@@ -94,7 +94,6 @@ config ASUS_LAPTOP
 	depends on RFKILL || RFKILL = n
 	depends on ACPI_VIDEO || ACPI_VIDEO = n
 	select INPUT_SPARSEKMAP
-	select INPUT_POLLDEV
 	---help---
 	  This is a driver for Asus laptops, Lenovo SL and the Pegatron
 	  Lucid tablet. It may also support some MEDION, JVC or VICTOR
drivers/platform/x86/asus-laptop.c +35 -35

131 lines not on this page · raw message

Signature · 5 lines
2.23.0.444.g18eeb5a265-goog


-- 
Dmitry