Commit 4dfe3df9 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: c6xdigio: remove commented out function trace messages

These commented out messages are just added noise. Remove them.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c89d6ea3
...@@ -94,8 +94,6 @@ static void C6X_pwmInit(unsigned long baseAddr) ...@@ -94,8 +94,6 @@ static void C6X_pwmInit(unsigned long baseAddr)
{ {
int timeout = 0; int timeout = 0;
/* printk("Inside C6X_pwmInit\n"); */
WriteByteToHwPort(baseAddr, 0x70); WriteByteToHwPort(baseAddr, 0x70);
while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0) while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0)
&& (timeout < C6XDIGIO_TIME_OUT)) { && (timeout < C6XDIGIO_TIME_OUT)) {
...@@ -132,8 +130,6 @@ static void C6X_pwmOutput(unsigned long baseAddr, unsigned channel, int value) ...@@ -132,8 +130,6 @@ static void C6X_pwmOutput(unsigned long baseAddr, unsigned channel, int value)
int timeout = 0; int timeout = 0;
unsigned tmp; unsigned tmp;
/* printk("Inside C6X_pwmOutput\n"); */
pwm.cmd = value; pwm.cmd = value;
if (pwm.cmd > 498) if (pwm.cmd > 498)
pwm.cmd = 498; pwm.cmd = 498;
...@@ -200,8 +196,6 @@ static int C6X_encInput(unsigned long baseAddr, unsigned channel) ...@@ -200,8 +196,6 @@ static int C6X_encInput(unsigned long baseAddr, unsigned channel)
int timeout = 0; int timeout = 0;
int tmp; int tmp;
/* printk("Inside C6X_encInput\n"); */
enc.value = 0; enc.value = 0;
if (channel == 0) if (channel == 0)
ppcmd = 0x48; ppcmd = 0x48;
...@@ -295,8 +289,6 @@ static void C6X_encResetAll(unsigned long baseAddr) ...@@ -295,8 +289,6 @@ static void C6X_encResetAll(unsigned long baseAddr)
{ {
unsigned timeout = 0; unsigned timeout = 0;
/* printk("Inside C6X_encResetAll\n"); */
WriteByteToHwPort(baseAddr, 0x68); WriteByteToHwPort(baseAddr, 0x68);
while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0) while (((ReadByteFromHwPort(baseAddr + 1) & 0x80) == 0)
&& (timeout < C6XDIGIO_TIME_OUT)) { && (timeout < C6XDIGIO_TIME_OUT)) {
...@@ -330,7 +322,6 @@ static int c6xdigio_pwmo_insn_write(struct comedi_device *dev, ...@@ -330,7 +322,6 @@ static int c6xdigio_pwmo_insn_write(struct comedi_device *dev,
int i; int i;
int chan = CR_CHAN(insn->chanspec); int chan = CR_CHAN(insn->chanspec);
/* printk("c6xdigio_pwmo_insn_write %x\n", insn->n); */
for (i = 0; i < insn->n; i++) { for (i = 0; i < insn->n; i++) {
C6X_pwmOutput(dev->iobase, chan, data[i]); C6X_pwmOutput(dev->iobase, chan, data[i]);
/* devpriv->ao_readback[chan] = data[i]; */ /* devpriv->ao_readback[chan] = data[i]; */
...@@ -342,7 +333,6 @@ static int c6xdigio_ei_insn_read(struct comedi_device *dev, ...@@ -342,7 +333,6 @@ static int c6xdigio_ei_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s, struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data) struct comedi_insn *insn, unsigned int *data)
{ {
/* printk("c6xdigio_ei__insn_read %x\n", insn->n); */
int n; int n;
int chan = CR_CHAN(insn->chanspec); int chan = CR_CHAN(insn->chanspec);
...@@ -354,12 +344,8 @@ static int c6xdigio_ei_insn_read(struct comedi_device *dev, ...@@ -354,12 +344,8 @@ static int c6xdigio_ei_insn_read(struct comedi_device *dev,
static void board_init(struct comedi_device *dev) static void board_init(struct comedi_device *dev)
{ {
/* printk("Inside board_init\n"); */
C6X_pwmInit(dev->iobase); C6X_pwmInit(dev->iobase);
C6X_encResetAll(dev->iobase); C6X_encResetAll(dev->iobase);
} }
static const struct pnp_device_id c6xdigio_pnp_tbl[] = { static const struct pnp_device_id c6xdigio_pnp_tbl[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment