staging:comedi: Use pr_ or dev_ printks in drivers/usbduxfaxt.c
fixed below checkpatch warnings. -WARNING: printk() should include KERN_ facility level Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1481c5f108
commit
1bbffe726e
@@ -370,9 +370,8 @@ static void usbduxfastsub_ai_Irq(struct urb *urb)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
printk("comedi%d: usbduxfast: non-zero urb status received in "
|
pr_err("non-zero urb status received in ai intr context: %d\n",
|
||||||
"ai intr context: %d\n",
|
urb->status);
|
||||||
udfs->comedidev->minor, urb->status);
|
|
||||||
s->async->events |= COMEDI_CB_EOA;
|
s->async->events |= COMEDI_CB_EOA;
|
||||||
s->async->events |= COMEDI_CB_ERROR;
|
s->async->events |= COMEDI_CB_ERROR;
|
||||||
comedi_event(udfs->comedidev, s);
|
comedi_event(udfs->comedidev, s);
|
||||||
@@ -454,7 +453,8 @@ static int usbduxfastsub_start(struct usbduxfastsub_s *udfs)
|
|||||||
1, /* Length */
|
1, /* Length */
|
||||||
EZTIMEOUT); /* Timeout */
|
EZTIMEOUT); /* Timeout */
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
printk("comedi_: usbduxfast_: control msg failed (start)\n");
|
dev_err(&udfs->interface->dev,
|
||||||
|
"control msg failed (start)\n");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user