Commit 0a56b4fa authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

USB: change dev_warn about missing reset-resume to dev_dbg

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: default avatarAlan Stern <stern@rowland.harvard.edu>
CC: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7c71c6e6
...@@ -1179,8 +1179,8 @@ static int usb_resume_interface(struct usb_device *udev, ...@@ -1179,8 +1179,8 @@ static int usb_resume_interface(struct usb_device *udev,
"reset_resume", status); "reset_resume", status);
} else { } else {
intf->needs_binding = 1; intf->needs_binding = 1;
dev_warn(&intf->dev, "no %s for driver %s?\n", dev_dbg(&intf->dev, "no reset_resume for driver %s?\n",
"reset_resume", driver->name); driver->name);
} }
} else { } else {
status = driver->resume(intf); status = driver->resume(intf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment