From: Greg Kroah-Hartman Date: Fri, 20 Apr 2012 23:53:59 +0000 (-0700) Subject: USB: option.c: remove err() usage X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=461863df3c8d4402495684eff9c11cc7e3f8aaea;p=linux-beck.git USB: option.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: Matthias Urlichs Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 836cfa9a515f..9b3c4a48ef6d 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1412,7 +1412,7 @@ static void option_instat_callback(struct urb *urb) req_pkt->bRequestType, req_pkt->bRequest); } } else - err("%s: error %d", __func__, status); + dev_err(&port->dev, "%s: error %d\n", __func__, status); /* Resubmit urb so we continue receiving IRQ data */ if (status != -ESHUTDOWN && status != -ENOENT) {