The patch titled
     driver core: remove device_is_registered() in device_move()
has been removed from the -mm tree.  Its filename was
     driver-core-remove-device_is_registered-in.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: driver core: remove device_is_registered() in device_move()
From: Cornelia Huck <[EMAIL PROTECTED]>

device_is_registered() will always be false for a device with no bus.  Remove
this check and trust the caller to know what they're doing.

Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/base/core.c |    4 ----
 1 files changed, 4 deletions(-)

diff -puN drivers/base/core.c~driver-core-remove-device_is_registered-in 
drivers/base/core.c
--- a/drivers/base/core.c~driver-core-remove-device_is_registered-in
+++ a/drivers/base/core.c
@@ -1007,10 +1007,6 @@ int device_move(struct device *dev, stru
        if (!dev)
                return -EINVAL;
 
-       if (!device_is_registered(dev)) {
-               error = -EINVAL;
-               goto out;
-       }
        new_parent = get_device(new_parent);
        if (!new_parent) {
                error = -EINVAL;
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

driver-core-per-subsystem-multithreaded-probing.patch
driver-core-dont-fail-attaching-the-device-if-it.patch
git-s390.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to