aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>2011-12-12 00:19:21 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-13 19:25:02 -0500
commitaaed8395997fd6b1c0f56eab7c545bb0278cdc92 (patch)
treea13d68c121ffc50c48d3090561f10a68b7f6570c
parent976fe5ab27e682d3dbfec26517a8a248638af07d (diff)
Staging: comedi: fix printk issue in daqboard2000.c
This is a patch to the daqboard2000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). 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/daqboard2000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c
index a16060eff915..3e4aa6db6d21 100644
--- a/drivers/staging/comedi/drivers/daqboard2000.c
+++ b/drivers/staging/comedi/drivers/daqboard2000.c
@@ -502,7 +502,7 @@ static int daqboard2000_ao_insn_write(struct comedi_device *dev,
502 502
503static void daqboard2000_resetLocalBus(struct comedi_device *dev) 503static void daqboard2000_resetLocalBus(struct comedi_device *dev)
504{ 504{
505 printk("daqboard2000_resetLocalBus\n"); 505 dev_dbg(dev->hw_dev, "daqboard2000_resetLocalBus\n");
506 writel(DAQBOARD2000_SECRLocalBusHi, devpriv->plx + 0x6c); 506 writel(DAQBOARD2000_SECRLocalBusHi, devpriv->plx + 0x6c);
507 udelay(10000); 507 udelay(10000);
508 writel(DAQBOARD2000_SECRLocalBusLo, devpriv->plx + 0x6c); 508 writel(DAQBOARD2000_SECRLocalBusLo, devpriv->plx + 0x6c);
@@ -511,7 +511,7 @@ static void daqboard2000_resetLocalBus(struct comedi_device *dev)
511 511
512static void daqboard2000_reloadPLX(struct comedi_device *dev) 512static void daqboard2000_reloadPLX(struct comedi_device *dev)
513{ 513{
514 printk("daqboard2000_reloadPLX\n"); 514 dev_dbg(dev->hw_dev, "daqboard2000_reloadPLX\n");
515 writel(DAQBOARD2000_SECRReloadLo, devpriv->plx + 0x6c); 515 writel(DAQBOARD2000_SECRReloadLo, devpriv->plx + 0x6c);
516 udelay(10000); 516 udelay(10000);
517 writel(DAQBOARD2000_SECRReloadHi, devpriv->plx + 0x6c); 517 writel(DAQBOARD2000_SECRReloadHi, devpriv->plx + 0x6c);
@@ -522,7 +522,7 @@ static void daqboard2000_reloadPLX(struct comedi_device *dev)
522 522
523static void daqboard2000_pulseProgPin(struct comedi_device *dev) 523static void daqboard2000_pulseProgPin(struct comedi_device *dev)
524{ 524{
525 printk("daqboard2000_pulseProgPin 1\n"); 525 dev_dbg(dev->hw_dev, "daqboard2000_pulseProgPin 1\n");
526 writel(DAQBOARD2000_SECRProgPinHi, devpriv->plx + 0x6c); 526 writel(DAQBOARD2000_SECRProgPinHi, devpriv->plx + 0x6c);
527 udelay(10000); 527 udelay(10000);
528 writel(DAQBOARD2000_SECRProgPinLo, devpriv->plx + 0x6c); 528 writel(DAQBOARD2000_SECRProgPinLo, devpriv->plx + 0x6c);