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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux