]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_daq_700: change the 'attach' printk's to dev_printk's
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 22 Jun 2012 23:32:19 +0000 (16:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:55:08 +0000 (20:55 -0700)
commitb88c59972db3117996913d8e74fdfe9df3ac601b
tree1188e97907b69db6ba241c9c3dae300ae17121a5
parent40cfdb9505c253c0dac4a1a8a8d9bdf551a38649
staging: comedi: ni_daq_700: change the 'attach' printk's to dev_printk's

Use the dev_printk() routines to output the kernel messages in the
attach routine.

The main 'attach' message had a level of KERN_ERR, I believe it should
have been KERN_INFO. Also, move that message to the end of the attach
so it only gets displayed if the attach is successful.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_daq_700.c