This patch changes a dev_warn() call in usbcore to dev_dbg().  It's
not necessary to warn about drivers missing a reset-resume callback,
since the reset-resume method is optional.

Signed-off-by: Alan Stern <st...@rowland.harvard.edu>
CC: Clemens Ladisch <clem...@ladisch.de>

---

[as1728]

 drivers/usb/core/driver.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: usb-3.12/drivers/usb/core/driver.c
===================================================================
--- usb-3.12.orig/drivers/usb/core/driver.c
+++ usb-3.12/drivers/usb/core/driver.c
@@ -1179,8 +1179,8 @@ static int usb_resume_interface(struct u
                                                "reset_resume", status);
                } else {
                        intf->needs_binding = 1;
-                       dev_warn(&intf->dev, "no %s for driver %s?\n",
-                                       "reset_resume", driver->name);
+                       dev_dbg(&intf->dev, "no reset_resume for driver %s?\n",
+                                       driver->name);
                }
        } else {
                status = driver->resume(intf);

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to