Commit 1bbffe72 authored by YAMANE Toshiaki's avatar YAMANE Toshiaki Committed by Greg Kroah-Hartman

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: default avatarYAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1481c5f1
...@@ -370,9 +370,8 @@ static void usbduxfastsub_ai_Irq(struct urb *urb) ...@@ -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) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment