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 <smurf@smurf.noris.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
085fb96262
commit
461863df3c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue