Prev: perf events: Change perf parameter --pid to process-wide collection instead of thread-wide
Next: cfq-iosched: Add additional blktrace log messages in CFQ for easier debugging.
From: Maurice Dawson on 25 Mar 2010 10:40 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(a)googlemail.com> --- 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |