]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: usbduxsigma: removing unneccesay attached info
authorBernd Porr <mail@berndporr.me.uk>
Tue, 7 Jan 2014 21:43:43 +0000 (21:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:51:54 +0000 (10:51 -0800)
Comedi core now reports that a device has been attached so that
the driver itself won't need to do it any longer. The driver now
just outputs the offset of the ADC converter which is a soft indicator
of the health of the board and also the user can grep this value
from the kernel log easier for debugging purposes.

Signed-off-by: Bernd Porr <mail@berndporr.me.uk>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c

index ff521b3a07d0bd412f5052d95074ddc6f6fcac54..3beeb12541522b2bf8cd04bd898754d3f9365487 100644 (file)
@@ -1661,7 +1661,7 @@ static int usbduxsigma_auto_attach(struct comedi_device *dev,
                return offset;
        }
 
-       dev_info(dev->class_dev, "attached, ADC_zero = %x\n", offset);
+       dev_info(dev->class_dev, "ADC_zero = %x\n", offset);
 
        return 0;
 }