aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-09-19 01:56:39 -0400
committerLen Brown <len.brown@intel.com>2009-09-19 01:56:39 -0400
commit3b87bb640e77023c97cf209e3dd85887a1113ad0 (patch)
treec4531d2c954bcc28706837cc67a8865677e51fbf /drivers/acpi/scan.c
parent7a92d803227a523a9a5546e4e0dce1325a4b5926 (diff)
parentdcf52fb71d988ba945054308f661bddf9b2455fb (diff)
Merge branch 'bjorn-start-stop-2.6.32' into release
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 297d8b94fbbc..7b90900b2118 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -430,9 +430,6 @@ static int acpi_device_probe(struct device * dev)
430 if (acpi_drv->ops.notify) { 430 if (acpi_drv->ops.notify) {
431 ret = acpi_device_install_notify_handler(acpi_dev); 431 ret = acpi_device_install_notify_handler(acpi_dev);
432 if (ret) { 432 if (ret) {
433 if (acpi_drv->ops.stop)
434 acpi_drv->ops.stop(acpi_dev,
435 acpi_dev->removal_type);
436 if (acpi_drv->ops.remove) 433 if (acpi_drv->ops.remove)
437 acpi_drv->ops.remove(acpi_dev, 434 acpi_drv->ops.remove(acpi_dev,
438 acpi_dev->removal_type); 435 acpi_dev->removal_type);
@@ -456,8 +453,6 @@ static int acpi_device_remove(struct device * dev)
456 if (acpi_drv) { 453 if (acpi_drv) {
457 if (acpi_drv->ops.notify) 454 if (acpi_drv->ops.notify)
458 acpi_device_remove_notify_handler(acpi_dev); 455 acpi_device_remove_notify_handler(acpi_dev);
459 if (acpi_drv->ops.stop)
460 acpi_drv->ops.stop(acpi_dev, acpi_dev->removal_type);
461 if (acpi_drv->ops.remove) 456 if (acpi_drv->ops.remove)
462 acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type); 457 acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type);
463 } 458 }