From: Bernd Porr Date: Tue, 7 Jan 2014 21:43:43 +0000 (+0000) Subject: staging: comedi: usbduxsigma: removing unneccesay attached info X-Git-Tag: v3.14-rc1~13^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2783980525df12b9c49e8b4baaff06abc7f2f8f2;p=kernel%2Fkernel-generic.git staging: comedi: usbduxsigma: removing unneccesay attached info 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c index ff521b3..3beeb12 100644 --- a/drivers/staging/comedi/drivers/usbduxsigma.c +++ b/drivers/staging/comedi/drivers/usbduxsigma.c @@ -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; }