diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-10-18 11:17:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-19 17:10:16 -0400 |
commit | 0a56b4fa6844f74976d4bfa4956fa6d606b392ea (patch) | |
tree | cc4850f12dd95cf174cb7282da3948a8185fa346 /drivers/usb/core | |
parent | 7c71c6e6befd4b234e166f2f40d4430bacc779e6 (diff) |
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>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 689433cdef25..47aade2a5e74 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c | |||
@@ -1179,8 +1179,8 @@ static int usb_resume_interface(struct usb_device *udev, | |||
1179 | "reset_resume", status); | 1179 | "reset_resume", status); |
1180 | } else { | 1180 | } else { |
1181 | intf->needs_binding = 1; | 1181 | intf->needs_binding = 1; |
1182 | dev_warn(&intf->dev, "no %s for driver %s?\n", | 1182 | dev_dbg(&intf->dev, "no reset_resume for driver %s?\n", |
1183 | "reset_resume", driver->name); | 1183 | driver->name); |
1184 | } | 1184 | } |
1185 | } else { | 1185 | } else { |
1186 | status = driver->resume(intf); | 1186 | status = driver->resume(intf); |