diff options
author | Ravishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in> | 2011-12-12 00:19:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-13 19:24:56 -0500 |
commit | b6b31e972d3e8c2ef1f117c9116f9333a2bd84e9 (patch) | |
tree | 9c38b72bbdf315e20ad0f4c6c6a3568e7cea1f2b | |
parent | 441ab50f201a99ff3a9a87eada2c8923a9771a8c (diff) |
Staging: comedi: fix printk issue in dt3000.c
This is a patch to the dt3000.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/drivers/dt3000.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c index 069a6916588b..10a54a7bb1ec 100644 --- a/drivers/staging/comedi/drivers/dt3000.c +++ b/drivers/staging/comedi/drivers/dt3000.c | |||
@@ -352,7 +352,8 @@ static int dt3k_send_cmd(struct comedi_device *dev, unsigned int cmd) | |||
352 | if ((status & DT3000_COMPLETION_MASK) == DT3000_NOERROR) | 352 | if ((status & DT3000_COMPLETION_MASK) == DT3000_NOERROR) |
353 | return 0; | 353 | return 0; |
354 | 354 | ||
355 | printk("dt3k_send_cmd() timeout/error status=0x%04x\n", status); | 355 | dev_dbg(dev->hw_dev, "dt3k_send_cmd() timeout/error status=0x%04x\n", |
356 | status); | ||
356 | 357 | ||
357 | return -ETIME; | 358 | return -ETIME; |
358 | } | 359 | } |
@@ -452,7 +453,7 @@ static void dt3k_ai_empty_fifo(struct comedi_device *dev, | |||
452 | if (count < 0) | 453 | if (count < 0) |
453 | count += AI_FIFO_DEPTH; | 454 | count += AI_FIFO_DEPTH; |
454 | 455 | ||
455 | printk("reading %d samples\n", count); | 456 | dev_dbg(dev->hw_dev, "reading %d samples\n", count); |
456 | 457 | ||
457 | rear = devpriv->ai_rear; | 458 | rear = devpriv->ai_rear; |
458 | 459 | ||