staging: comedi: amplc_dio200: Replace printk calls
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 13:08:34 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:49:19 +0000 (20:49 -0700)
commit485455d01b26e849d30c2b20ce20a4d6fc50555e
tree7222b1429fe94664879c626be1b6cd40c5ab4792
parentfd97962b4142fc3460d3628c3842be6d33b9aa94
staging: comedi: amplc_dio200: Replace printk calls

Replace the printk calls with dev_info, dev_err, etc.  There were some
consecutive printk calls without newlines which now scnprintf into a
temporary buffer and this bit of code has been factored out into new
function dio200_report_attach().

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c