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:
2b8dec3
)
USB: toneport.c: remove err() usage
author
Greg Kroah-Hartman
<
[email protected]
>
Fri, 20 Apr 2012 23:53:32 +0000
(16:53 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 20 Apr 2012 23:53:32 +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: Markus Grabner <
[email protected]
>
CC: Stefan Hajnoczi <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/line6/toneport.c
patch
|
blob
|
history
diff --git
a/drivers/staging/line6/toneport.c
b/drivers/staging/line6/toneport.c
index b754f69a29c46a2eb7558f3c9d8abe4eb8e3308f..31b624b63425bfff9c244f667f7442436f36e538 100644
(file)
--- a/
drivers/staging/line6/toneport.c
+++ b/
drivers/staging/line6/toneport.c
@@
-168,7
+168,7
@@
static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2)
cmd1, cmd2, NULL, 0, LINE6_TIMEOUT * HZ);
if (ret < 0) {
-
err(
"send failed (error %d)\n", ret);
+
dev_err(&usbdev->dev,
"send failed (error %d)\n", ret);
return ret;
}