aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 1e2e0fa8a450..7f59c2f2ebcb 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -839,7 +839,6 @@ int device_add(struct device *dev)
839 return error; 839 return error;
840 BusError: 840 BusError:
841 device_pm_remove(dev); 841 device_pm_remove(dev);
842 dpm_sysfs_remove(dev);
843 PMError: 842 PMError:
844 if (dev->bus) 843 if (dev->bus)
845 blocking_notifier_call_chain(&dev->bus->p->bus_notifier, 844 blocking_notifier_call_chain(&dev->bus->p->bus_notifier,