Skip to content

Commit a5f9e5d

Browse files
committed
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"
2 parents 9bd5918 + 722e5f2 commit a5f9e5d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/base/dd.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -434,14 +434,6 @@ static int really_probe(struct device *dev, struct device_driver *drv)
434434
goto probe_failed;
435435
}
436436

437-
/*
438-
* Ensure devices are listed in devices_kset in correct order
439-
* It's important to move Dev to the end of devices_kset before
440-
* calling .probe, because it could be recursive and parent Dev
441-
* should always go first
442-
*/
443-
devices_kset_move_last(dev);
444-
445437
if (dev->bus->probe) {
446438
ret = dev->bus->probe(dev);
447439
if (ret)

0 commit comments

Comments
 (0)