diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-15 07:58:30 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-15 07:58:30 -0500 |
commit | e8f71df723339b6d3861886f58c245812d1994f8 (patch) | |
tree | 77264d37afeff152816afa1fea7b960dc8cbbd1e /drivers/char | |
parent | b34bf8e3cd5039ccba7f478601188427b1a8cd0b (diff) | |
parent | 3757b94802fb65d8f696597a74053cf21738da0b (diff) |
Merge branch 'acpi-cleanup'
* acpi-cleanup: (21 commits)
ACPI / hotplug: Fix concurrency issues and memory leaks
ACPI: Remove the use of CONFIG_ACPI_CONTAINER_MODULE
ACPI / scan: Full transition to D3cold in acpi_device_unregister()
ACPI / scan: Make acpi_bus_hot_remove_device() acquire the scan lock
ACPI: Drop the container.h header file
ACPI / Documentation: refer to correct file for acpi_platform_device_ids[] table
ACPI / scan: Make container driver use struct acpi_scan_handler
ACPI / scan: Remove useless #ifndef from acpi_eject_store()
ACPI: Unbind ACPI drv when probe failed
ACPI: sysfs eject support for ACPI scan handlers
ACPI / scan: Follow priorities of IDs when matching scan handlers
ACPI / PCI: pci_slot: replace printk(KERN_xxx) with pr_xxx()
ACPI / dock: Fix acpi_bus_get_device() check in drivers/acpi/dock.c
ACPI / scan: Clean up acpi_bus_get_parent()
ACPI / platform: Use struct acpi_scan_handler for creating devices
ACPI / PCI: Make PCI IRQ link driver use struct acpi_scan_handler
ACPI / PCI: Make PCI root driver use struct acpi_scan_handler
ACPI / scan: Introduce struct acpi_scan_handler
ACPI / scan: Make scanning of fixed devices follow the general scheme
ACPI: Drop device start operation that is not used
...
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hpet.c | 2 | ||||
-rw-r--r-- | drivers/char/sonypi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index fe6d4be48296..e3f9a99b8522 100644 --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c | |||
@@ -1041,7 +1041,7 @@ static int hpet_acpi_add(struct acpi_device *device) | |||
1041 | return hpet_alloc(&data); | 1041 | return hpet_alloc(&data); |
1042 | } | 1042 | } |
1043 | 1043 | ||
1044 | static int hpet_acpi_remove(struct acpi_device *device, int type) | 1044 | static int hpet_acpi_remove(struct acpi_device *device) |
1045 | { | 1045 | { |
1046 | /* XXX need to unregister clocksource, dealloc mem, etc */ | 1046 | /* XXX need to unregister clocksource, dealloc mem, etc */ |
1047 | return -EINVAL; | 1047 | return -EINVAL; |
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index d780295a1473..6386a98e43c1 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -1142,7 +1142,7 @@ static int sonypi_acpi_add(struct acpi_device *device) | |||
1142 | return 0; | 1142 | return 0; |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | static int sonypi_acpi_remove(struct acpi_device *device, int type) | 1145 | static int sonypi_acpi_remove(struct acpi_device *device) |
1146 | { | 1146 | { |
1147 | sonypi_acpi_device = NULL; | 1147 | sonypi_acpi_device = NULL; |
1148 | return 0; | 1148 | return 0; |