aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-11-26 18:41:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 12:20:19 -0500
commit4dfe3df9b3fa1bb4d30ee5ae2e360cfe72026459 (patch)
tree8d36335f9ad4db338c31e0c0604e4e42448ac538
parentc89d6ea38819b5defb7d24584ed9cf87efe8366a (diff)
staging: comedi: c6xdigio: remove commented out function trace messages
These commented out messages are just added noise. Remove them. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/drivers/c6xdigio.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/comedi/drivers/c6xdigio.c b/drivers/staging/comedi/drivers/c6xdigio.c
index 7512eaf546a7..5034f663eec9 100644
--- a/drivers/staging/comedi/drivers/c6xdigio.c
+++ b/drivers/staging/comedi/drivers/c6xdigio.c
@@ -94,8 +94,6 @@ static void C6X_pwmInit(unsigned long baseAddr)
94{ 94{
95 int timeout = 0; 95 int timeout = 0;
96 96
97/* printk("Inside C6X_pwmInit\n"); */
98
99 WriteByteToHwPort(baseAddr, 0x70); 97 WriteByteToHwPort(baseAddr, 0x70);
100 while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0) 98 while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0)
101 && (timeout < C6XDIGIO_TIME_OUT)) { 99 && (timeout < C6XDIGIO_TIME_OUT)) {
@@ -132,8 +130,6 @@ static void C6X_pwmOutput(unsigned long baseAddr, unsigned channel, int value)
132 int timeout = 0; 130 int timeout = 0;
133 unsigned tmp; 131 unsigned tmp;
134 132
135 /* printk("Inside C6X_pwmOutput\n"); */
136
137 pwm.cmd = value; 133 pwm.cmd = value;
138 if (pwm.cmd > 498) 134 if (pwm.cmd > 498)
139 pwm.cmd = 498; 135 pwm.cmd = 498;
@@ -200,8 +196,6 @@ static int C6X_encInput(unsigned long baseAddr, unsigned channel)
200 int timeout = 0; 196 int timeout = 0;
201 int tmp; 197 int tmp;
202 198
203 /* printk("Inside C6X_encInput\n"); */
204
205 enc.value = 0; 199 enc.value = 0;
206 if (channel == 0) 200 if (channel == 0)
207 ppcmd = 0x48; 201 ppcmd = 0x48;
@@ -295,8 +289,6 @@ static void C6X_encResetAll(unsigned long baseAddr)
295{ 289{
296 unsigned timeout = 0; 290 unsigned timeout = 0;
297 291
298/* printk("Inside C6X_encResetAll\n"); */
299
300 WriteByteToHwPort(baseAddr, 0x68); 292 WriteByteToHwPort(baseAddr, 0x68);
301 while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0) 293 while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0)
302 && (timeout < C6XDIGIO_TIME_OUT)) { 294 && (timeout < C6XDIGIO_TIME_OUT)) {
@@ -330,7 +322,6 @@ static int c6xdigio_pwmo_insn_write(struct comedi_device *dev,
330 int i; 322 int i;
331 int chan = CR_CHAN(insn->chanspec); 323 int chan = CR_CHAN(insn->chanspec);
332 324
333 /* printk("c6xdigio_pwmo_insn_write %x\n", insn->n); */
334 for (i = 0; i < insn->n; i++) { 325 for (i = 0; i < insn->n; i++) {
335 C6X_pwmOutput(dev->iobase, chan, data[i]); 326 C6X_pwmOutput(dev->iobase, chan, data[i]);
336 /* devpriv->ao_readback[chan] = data[i]; */ 327 /* devpriv->ao_readback[chan] = data[i]; */
@@ -342,7 +333,6 @@ static int c6xdigio_ei_insn_read(struct comedi_device *dev,
342 struct comedi_subdevice *s, 333 struct comedi_subdevice *s,
343 struct comedi_insn *insn, unsigned int *data) 334 struct comedi_insn *insn, unsigned int *data)
344{ 335{
345 /* printk("c6xdigio_ei__insn_read %x\n", insn->n); */
346 int n; 336 int n;
347 int chan = CR_CHAN(insn->chanspec); 337 int chan = CR_CHAN(insn->chanspec);
348 338
@@ -354,12 +344,8 @@ static int c6xdigio_ei_insn_read(struct comedi_device *dev,
354 344
355static void board_init(struct comedi_device *dev) 345static void board_init(struct comedi_device *dev)
356{ 346{
357
358 /* printk("Inside board_init\n"); */
359
360 C6X_pwmInit(dev->iobase); 347 C6X_pwmInit(dev->iobase);
361 C6X_encResetAll(dev->iobase); 348 C6X_encResetAll(dev->iobase);
362
363} 349}
364 350
365static const struct pnp_device_id c6xdigio_pnp_tbl[] = { 351static const struct pnp_device_id c6xdigio_pnp_tbl[] = {