diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-21 01:53:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-24 01:46:04 +0200 |
commit | aa8f827a4d7dbea98a9076a4f85b1317391dc031 (patch) | |
tree | aa59eacf3f4a379983e9ca5a676cff115e6308ed | |
parent | staging: asus_oled.c: remove err() usage (diff) | |
download | linux-aa8f827a4d7dbea98a9076a4f85b1317391dc031.tar.xz linux-aa8f827a4d7dbea98a9076a4f85b1317391dc031.zip |
staging: line6: toneport.c: remove err() usage
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 <grabner@icg.tugraz.at>
CC: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/line6/toneport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/line6/toneport.c b/drivers/staging/line6/toneport.c index b754f69a29c4..31b624b63425 100644 --- 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; } |