Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27839805 authored by Bernd Porr's avatar Bernd Porr Committed by Greg Kroah-Hartman
Browse files

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: default avatarBernd Porr <mail@berndporr.me.uk>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7a45ae6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1661,7 +1661,7 @@ static int usbduxsigma_auto_attach(struct comedi_device *dev,
		return offset;
		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;
	return 0;
}
}