dell-smo8800: Add more ACPI ids and change description of driver
authorPali Rohár <pali.rohar@gmail.com>
Fri, 5 Dec 2014 12:05:46 +0000 (13:05 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 3 Dec 2014 18:10:19 +0000 (10:10 -0800)
This patch adds other ACPI ids from Windows inf driver which should be handled
by dell-smo8800 driver. ACPI devices have same structure -- one IRQ number.

This patch also updates description of module.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/dell-smo8800.c

index a2eabe6ff9ada9b7bff3991a0116c8137a78b92d..854cc5049b6986d843838c9276f7f7a2e8bf1263 100644 (file)
@@ -128,10 +128,10 @@ config DELL_WMI_AIO
          be called dell-wmi-aio.
 
 config DELL_SMO8800
-       tristate "Dell Latitude freefall driver (ACPI SMO8800/SMO8810)"
+       tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
        depends on ACPI
        ---help---
-         Say Y here if you want to support SMO8800/SMO8810 freefall device
+         Say Y here if you want to support SMO88XX freefall devices
          on Dell Latitude laptops.
 
          To compile this driver as a module, choose M here: the module will
index a653716055d1e6a79cddb68f259a9f8625a1b268..0aec4fd4c48ecf5788792b8052b2c8eea8bd7d8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  dell-smo8800.c - Dell Latitude ACPI SMO8800/SMO8810 freefall sensor driver
+ *  dell-smo8800.c - Dell Latitude ACPI SMO88XX freefall sensor driver
  *
  *  Copyright (C) 2012 Sonal Santan <sonal.santan@gmail.com>
  *  Copyright (C) 2014 Pali Rohár <pali.rohar@gmail.com>
@@ -209,7 +209,13 @@ static int smo8800_remove(struct acpi_device *device)
 
 static const struct acpi_device_id smo8800_ids[] = {
        { "SMO8800", 0 },
+       { "SMO8801", 0 },
        { "SMO8810", 0 },
+       { "SMO8811", 0 },
+       { "SMO8820", 0 },
+       { "SMO8821", 0 },
+       { "SMO8830", 0 },
+       { "SMO8831", 0 },
        { "", 0 },
 };
 
@@ -228,6 +234,6 @@ static struct acpi_driver smo8800_driver = {
 
 module_acpi_driver(smo8800_driver);
 
-MODULE_DESCRIPTION("Dell Latitude freefall driver (ACPI SMO8800/SMO8810)");
+MODULE_DESCRIPTION("Dell Latitude freefall driver (ACPI SMO88XX)");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Sonal Santan, Pali Rohár");