diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-20 16:53:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-20 16:53:32 -0700 |
commit | d86938fb63a9189cedfd3509cafc4b1def68703d (patch) | |
tree | 3e4c60e2c408d266dc7f5cbde1ff2e0b82848b6a | |
parent | 2b8dec323d3409308817820247222806d0356cdf (diff) |
USB: 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 b754f69a29c..31b624b6342 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; } |