summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-07-26 19:25:03 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-07-26 19:25:03 +0300
commita5f9e5dab35ac0c3e6d03a2ab71477aff250d21b (patch)
treea1527bd821712446ec14031b28ab33edd4e2fe9d
parent9bd591839eba45163552bc8c7a7814710edd17cd (diff)
parent722e5f2b1eec7de61117b7c0a7914761e3da2eda (diff)
downloadlinux-a5f9e5dab35ac0c3e6d03a2ab71477aff250d21b.tar.xz
Merge tag 'driver-core-4.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core fix from Greg KH: "This is a single driver core fix for 4.18-rc7. It partially reverts a previous commit to resolve some reported issues. It has been in linux-next for a while now with no reported issues" * tag 'driver-core-4.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: driver core: Partially revert "driver core: correct device's shutdown order"
-rw-r--r--drivers/base/dd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 1435d7281c66..6ebcd65d64b6 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -434,14 +434,6 @@ re_probe:
goto probe_failed;
}
- /*
- * Ensure devices are listed in devices_kset in correct order
- * It's important to move Dev to the end of devices_kset before
- * calling .probe, because it could be recursive and parent Dev
- * should always go first
- */
- devices_kset_move_last(dev);
-
if (dev->bus->probe) {
ret = dev->bus->probe(dev);
if (ret)