Skip to content

Commit 895bee2

Browse files
committed
Revert "driver core: Reorder devices on successful probe"
This reverts commit 5b6164d. Stephan reports problems with this commit, so revert it for now. Fixes: 5b6164d ("driver core: Reorder devices on successful probe") Link: https://lore.kernel.org/r/X/[email protected] Reported-by: Stephan Gerhold <[email protected]> Cc: Jonathan Hunter <[email protected]> Cc: Rafael. J. Wysocki <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 29f7c54 commit 895bee2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/base/dd.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,6 @@ static void driver_bound(struct device *dev)
370370

371371
device_pm_check_callbacks(dev);
372372

373-
/*
374-
* Reorder successfully probed devices to the end of the device list.
375-
* This ensures that suspend/resume order matches probe order, which
376-
* is usually what drivers rely on.
377-
*/
378-
device_pm_move_to_tail(dev);
379-
380373
/*
381374
* Make sure the device is no longer in one of the deferred lists and
382375
* kick off retrying all pending devices

0 commit comments

Comments
 (0)