diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-05-23 10:40:35 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-01 21:37:09 +0200 |
commit | 2e199192df85eb936a7829dc28b57b85c59c86fc (patch) | |
tree | bf93999126c4b8471cd337f8970cc9a013ac34a4 /drivers/acpi/scan.c | |
parent | b2c064b25ad07169b2892a733918e6b941bf3366 (diff) | |
download | kernel_goldelico_gta04-2e199192df85eb936a7829dc28b57b85c59c86fc.zip kernel_goldelico_gta04-2e199192df85eb936a7829dc28b57b85c59c86fc.tar.gz kernel_goldelico_gta04-2e199192df85eb936a7829dc28b57b85c59c86fc.tar.bz2 |
ACPI: Drop removal_type field from struct acpi_device
The ACPI processor driver was the only user of the removal_type
field in struct acpi_device, but it doesn't use that field any more
after recent changes. Thus, removal_type has no more users, so drop
it along with the associated data type.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index ad82bb2..ba8ee6cb 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1036,7 +1036,6 @@ int acpi_device_add(struct acpi_device *device, printk(KERN_ERR PREFIX "Error creating sysfs interface for device %s\n", dev_name(&device->dev)); - device->removal_type = ACPI_BUS_REMOVAL_NORMAL; return 0; err: @@ -2025,7 +2024,6 @@ static acpi_status acpi_bus_device_detach(acpi_handle handle, u32 lvl_not_used, if (!acpi_bus_get_device(handle, &device)) { struct acpi_scan_handler *dev_handler = device->handler; - device->removal_type = ACPI_BUS_REMOVAL_EJECT; if (dev_handler) { if (dev_handler->detach) dev_handler->detach(device); |