Skip to content

Commit

Permalink
USB: toneport.c: remove err() usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Apr 20, 2012
1 parent 2b8dec3 commit d86938f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/line6/toneport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d86938f

Please sign in to comment.