Skip to content

Commit

Permalink
platform/surface: Remove Surface 3 Button driver
Browse files Browse the repository at this point in the history
The Surface 3 buttons are now handled by the generic soc_button_array
driver. As part of adding support to soc_button_array the ACPI code
now instantiates a platform_device rather then an i2c_client so there
no longer is an i2c_client for this driver to bind to.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220224110241.9613-3-hdegoede@redhat.com
  • Loading branch information
Hans de Goede committed Mar 2, 2022
1 parent 60c7353 commit faabb26
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 255 deletions.
7 changes: 0 additions & 7 deletions drivers/platform/surface/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ config SURFACE3_WMI
To compile this driver as a module, choose M here: the module will
be called surface3-wmi.

config SURFACE_3_BUTTON
tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
depends on ACPI
depends on KEYBOARD_GPIO && I2C
help
This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.

config SURFACE_3_POWER_OPREGION
tristate "Surface 3 battery platform operation region support"
depends on ACPI
Expand Down
1 change: 0 additions & 1 deletion drivers/platform/surface/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#

obj-$(CONFIG_SURFACE3_WMI) += surface3-wmi.o
obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o
obj-$(CONFIG_SURFACE_3_POWER_OPREGION) += surface3_power.o
obj-$(CONFIG_SURFACE_ACPI_NOTIFY) += surface_acpi_notify.o
obj-$(CONFIG_SURFACE_AGGREGATOR) += aggregator/
Expand Down
247 changes: 0 additions & 247 deletions drivers/platform/surface/surface3_button.c

This file was deleted.

0 comments on commit faabb26

Please sign in to comment.