staging: comedi: usbduxsigma: tidy up firmware upload error messages
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:52:17 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:53 +0000 (20:40 +0900)
commit2a8cdc6861557f3ed67e8dbef667fb3ccc61e459
tree6f8169b92da18aed688baf1cb3bdfae1373ddd19
parenta59a28a32fdfe011ce5045f2a5a207f634d84b2c
staging: comedi: usbduxsigma: tidy up firmware upload error messages

Use dev->class_dev for all dev_{level} messages.

Remove the unnecessary error message for a kmemdup() failure.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c