]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/surface: Move Surface Pro 3 Button driver to platform/surface
authorMaximilian Luz <luzmaximilian@gmail.com>
Fri, 9 Oct 2020 14:11:28 +0000 (16:11 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 27 Oct 2020 11:51:24 +0000 (12:51 +0100)
Move the Surface Pro 3 Button driver from platform/x86 to the newly
created platform/surface directory.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Chen Yu <yu.c.chen@intel.com>
Link: https://lore.kernel.org/r/20201009141128.683254-6-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
MAINTAINERS
drivers/platform/surface/Kconfig
drivers/platform/surface/Makefile
drivers/platform/surface/surfacepro3_button.c [moved from drivers/platform/x86/surfacepro3_button.c with 100% similarity]
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile

index e8bc7fd592359300ec68618071def587770e280c..57b07078e5b1a289e7f7c2d0144f9fc4382a0f34 100644 (file)
@@ -11663,7 +11663,7 @@ MICROSOFT SURFACE PRO 3 BUTTON DRIVER
 M:     Chen Yu <yu.c.chen@intel.com>
 L:     platform-driver-x86@vger.kernel.org
 S:     Supported
-F:     drivers/platform/x86/surfacepro3_button.c
+F:     drivers/platform/surface/surfacepro3_button.c
 
 MICROTEK X6 SCANNER
 M:     Oliver Neukum <oliver@neukum.org>
index ac1c749a7a2ff8b4bd59df79bd601d8bd60e751e..10902ea438610451ec09c3c6d01191c666c3cb39 100644 (file)
@@ -40,4 +40,10 @@ config SURFACE_3_POWER_OPREGION
          This driver provides support for ACPI operation
          region of the Surface 3 battery platform driver.
 
+config SURFACE_PRO3_BUTTON
+       tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
+       depends on ACPI && INPUT
+       help
+         This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
+
 endif # SURFACE_PLATFORMS
index 4940d4db58b2ece4bb1ef0af1c0bc08a2c85bbc9..dcb1df06d57ace341f4d7836483f111c380be4b2 100644 (file)
@@ -7,3 +7,4 @@
 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_PRO3_BUTTON)      += surfacepro3_button.o
index 8417ee0178d0c4768498a769cdb220c21c856dbb..6083f8241b7d02120ec2a5c55b3cc219a19b88df 100644 (file)
@@ -870,12 +870,6 @@ config INTEL_VBTN
          To compile this driver as a module, choose M here: the module will
          be called intel_vbtn.
 
-config SURFACE_PRO3_BUTTON
-       tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
-       depends on ACPI && INPUT
-       help
-         This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
-
 config MSI_LAPTOP
        tristate "MSI Laptop Extras"
        depends on ACPI
index ffa31f57d9a2af52a4e4a24bfbbe317fe970166a..aeff497e23a56aea2433c79b574984a330cef345 100644 (file)
@@ -81,9 +81,6 @@ obj-$(CONFIG_INTEL_MENLOW)            += intel_menlow.o
 obj-$(CONFIG_INTEL_OAKTRAIL)           += intel_oaktrail.o
 obj-$(CONFIG_INTEL_VBTN)               += intel-vbtn.o
 
-# Microsoft
-obj-$(CONFIG_SURFACE_PRO3_BUTTON)      += surfacepro3_button.o
-
 # MSI
 obj-$(CONFIG_MSI_LAPTOP)       += msi-laptop.o
 obj-$(CONFIG_MSI_WMI)          += msi-wmi.o