summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBernd Porr <mail@berndporr.me.uk>2014-01-08 01:43:43 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 22:51:54 +0400
commit2783980525df12b9c49e8b4baaff06abc7f2f8f2 (patch)
tree2b1998800ee7c5da706bd0d177c819fbcfac05d1 /drivers
parent7a45ae6edf808821a9799eccd9043177463aa05f (diff)
downloadlinux-2783980525df12b9c49e8b4baaff06abc7f2f8f2.tar.xz
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 <mail@berndporr.me.uk> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/usbduxsigma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c
index ff521b3a07d0..3beeb1254152 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;
}