Staging: comedi: fix printk issue in pcmuio.c
This is a patch to the pcmuio.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>
This commit is contained in:
parent
deb04291a1
commit
976fe5ab27
|
@ -501,7 +501,8 @@ static int pcmuio_dio_insn_bits(struct comedi_device *dev,
|
||||||
|
|
||||||
#ifdef DAMMIT_ITS_BROKEN
|
#ifdef DAMMIT_ITS_BROKEN
|
||||||
/* DEBUG */
|
/* DEBUG */
|
||||||
printk("write mask: %08x data: %08x\n", data[0], data[1]);
|
dev_dbg(dev->hw_dev, "write mask: %08x data: %08x\n", data[0],
|
||||||
|
data[1]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
s->state = 0;
|
s->state = 0;
|
||||||
|
@ -537,7 +538,7 @@ static int pcmuio_dio_insn_bits(struct comedi_device *dev,
|
||||||
}
|
}
|
||||||
#ifdef DAMMIT_ITS_BROKEN
|
#ifdef DAMMIT_ITS_BROKEN
|
||||||
/* DEBUG */
|
/* DEBUG */
|
||||||
printk("data_out_byte %02x\n", (unsigned)byte);
|
dev_dbg(dev->hw_dev, "data_out_byte %02x\n", (unsigned)byte);
|
||||||
#endif
|
#endif
|
||||||
/* save the digital input lines for this byte.. */
|
/* save the digital input lines for this byte.. */
|
||||||
s->state |= ((unsigned int)byte) << offset;
|
s->state |= ((unsigned int)byte) << offset;
|
||||||
|
@ -548,7 +549,8 @@ static int pcmuio_dio_insn_bits(struct comedi_device *dev,
|
||||||
|
|
||||||
#ifdef DAMMIT_ITS_BROKEN
|
#ifdef DAMMIT_ITS_BROKEN
|
||||||
/* DEBUG */
|
/* DEBUG */
|
||||||
printk("s->state %08x data_out %08x\n", s->state, data[1]);
|
dev_dbg(dev->hw_dev, "s->state %08x data_out %08x\n", s->state,
|
||||||
|
data[1]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 2;
|
return 2;
|
||||||
|
|
Loading…
Reference in New Issue