[PATCH 24/24] Staging: comedi: fix commented out code style in adq12b.c

From: Maurice Dawson
Date: Thu Mar 25 2010 - 10:37:35 EST


This is a patch to the adq12b.c file that fixes an incorrect commented out code style that I used in my previous patch 23/23

Signed-off-by: Maurice Dawson <mauricedawson2699@xxxxxxxxxxxxxx>
---
drivers/staging/comedi/drivers/adq12b.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/comedi/drivers/adq12b.c b/drivers/staging/comedi/drivers/adq12b.c
index ac3d42d..4a2814b 100644
--- a/drivers/staging/comedi/drivers/adq12b.c
+++ b/drivers/staging/comedi/drivers/adq12b.c
@@ -354,11 +354,10 @@ static int adq12b_ai_rinsn(struct comedi_device *dev,
/* read data */
hi = inb(dev->iobase + ADQ12B_ADHIG);
lo = inb(dev->iobase + ADQ12B_ADLOW);
-
- /*
- *printk("debug: chan=%d range=%d status=%d hi=%d lo=%d\n",
- *channel, range, status, hi, lo);
- */
+#if 0
+ printk(KERN_ERR "debug: chan=%d range=%d status=%d hi=%d lo=%d\n",
+ channel, range, status, hi, lo);
+#endif
data[n] = (hi << 8) | lo;

}
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/