projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86938f
)
USB: oxu210hp-hcd.c: remove err() usage
author
Greg Kroah-Hartman
<
[email protected]
>
Fri, 20 Apr 2012 23:53:35 +0000
(16:53 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 20 Apr 2012 23:53:35 +0000
(16:53 -0700)
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.
CC: Rusty Russell <
[email protected]
>
CC: David Howells <
[email protected]
>
CC: Alan Stern <
[email protected]
>
CC: Mauro Carvalho Chehab <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/host/oxu210hp-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/oxu210hp-hcd.c
b/drivers/usb/host/oxu210hp-hcd.c
index 3b38030b02a87a2407f7439b7c0b8fc259fbc880..77a52256eb343f494f42c46df6f7aedfbdaec2f6 100644
(file)
--- a/
drivers/usb/host/oxu210hp-hcd.c
+++ b/
drivers/usb/host/oxu210hp-hcd.c
@@
-2991,8
+2991,9
@@
static int oxu_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
/* shouldn't happen often, but ...
* FIXME kill those tds' urbs
*/
- err("can't reschedule qh %p, err %d",
- qh, status);
+ dev_err(hcd->self.controller,
+ "can't reschedule qh %p, err %d\n", qh,
+ status);
}
return status;
}