diff options
-rw-r--r-- | drivers/acpi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index f6f52c1a2aba..e7b8853c310b 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
@@ -384,7 +384,7 @@ static int acpi_device_remove(struct device * dev) | |||
384 | acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type); | 384 | acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type); |
385 | } | 385 | } |
386 | acpi_dev->driver = NULL; | 386 | acpi_dev->driver = NULL; |
387 | acpi_driver_data(dev) = NULL; | 387 | acpi_driver_data(acpi_dev) = NULL; |
388 | 388 | ||
389 | put_device(dev); | 389 | put_device(dev); |
390 | return 0; | 390 | return 0; |