[PATCH] ACPI / dock: Drop dock_device_ids[] table

From: Rafael J. Wysocki
Date: Sat Apr 05 2014 - 16:59:29 EST


From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

There are no references to dock_device_ids[] table anywhere in the
code and it is not even useful for module autoloading, because the
dock driver can only be built in, so drop it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
---
drivers/acpi/dock.c | 6 ------
1 file changed, 6 deletions(-)

Index: linux-pm/drivers/acpi/dock.c
===================================================================
--- linux-pm.orig/drivers/acpi/dock.c
+++ linux-pm/drivers/acpi/dock.c
@@ -51,12 +51,6 @@ MODULE_PARM_DESC(immediate_undock, "1 (d
" the driver to wait for userspace to write the undock sysfs file "
" before undocking");

-static const struct acpi_device_id dock_device_ids[] = {
- {"LNXDOCK", 0},
- {"", 0},
-};
-MODULE_DEVICE_TABLE(acpi, dock_device_ids);
-
struct dock_station {
acpi_handle handle;
unsigned long last_dock_time;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/