lkml.org 
[lkml]   [2011]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 19/30] Staging: comedi: fix printk issue in jr3_pci.c
Date
This is a patch to the jr3_pci.c file that fixes up a
printk warning found by the checkpatch.pl tool.

Converted printks to pr_<levels>.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
---
drivers/staging/comedi/drivers/jr3_pci.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c
index 17370b9..01b0e08 100644
--- a/drivers/staging/comedi/drivers/jr3_pci.c
+++ b/drivers/staging/comedi/drivers/jr3_pci.c
@@ -517,7 +517,7 @@ static struct poll_delay_t jr3_pci_poll_subdevice(struct comedi_subdevice *s)
int errors = get_u16(&channel->errors);

if (errors != p->errors) {
- printk("Errors: %x -> %x\n", p->errors, errors);
+ pr_debug("Errors: %x -> %x\n", p->errors, errors);
p->errors = errors;
}
if (errors & (watch_dog | watch_dog2 | sensor_change)) {
@@ -560,10 +560,10 @@ static struct poll_delay_t jr3_pci_poll_subdevice(struct comedi_subdevice *s)
printk
("Setting transform for channel %d\n",
p->channel_no);
- printk("Sensor Model = %i\n",
- p->model_no);
- printk("Sensor Serial = %i\n",
- p->serial_no);
+ pr_debug("Sensor Model = %i\n",
+ p->model_no);
+ pr_debug("Sensor Serial = %i\n",
+ p->serial_no);

/* Transformation all zeros */
for (i = 0; i < ARRAY_SIZE(transf.link); i++) {
--
1.7.0.4


\
 
 \ /
  Last update: 2011-12-08 13:57    [from the cache]
©2003-2011 Jasper Spaans