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: Alan Stern <stern@rowland.harvard.edu> CC: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7c71c6e6be
commit
0a56b4fa68
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue