summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 21:02:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 21:02:29 +0300
commit895bee270863588fe3d46dca86cd15d461f47a7a (patch)
tree9cbf6d6e64bfda4a953c92e0fb19c51dcb27b7e7 /drivers/base
parent29f7c54b253fc18bff9bf7e9f303b75deb285c7a (diff)
downloadlinux-895bee270863588fe3d46dca86cd15d461f47a7a.tar.xz
Revert "driver core: Reorder devices on successful probe"
This reverts commit 5b6164d3465fcc13b5679c860c452963443172a7. Stephan reports problems with this commit, so revert it for now. Fixes: 5b6164d3465f ("driver core: Reorder devices on successful probe") Link: https://lore.kernel.org/r/X/ycQpu7NIGI969v@gerhold.net Reported-by: Stephan Gerhold <stephan@gerhold.net> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: Rafael. J. Wysocki <rafael@kernel.org> Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/dd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 0b76b5423778..9179825ff646 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -371,13 +371,6 @@ static void driver_bound(struct device *dev)
device_pm_check_callbacks(dev);
/*
- * Reorder successfully probed devices to the end of the device list.
- * This ensures that suspend/resume order matches probe order, which
- * is usually what drivers rely on.
- */
- device_pm_move_to_tail(dev);
-
- /*
* Make sure the device is no longer in one of the deferred lists and
* kick off retrying all pending devices
*/