staging: comedi: amplc_pc236: Replace printk calls
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 May 2012 13:49:31 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:46:57 +0000 (20:46 -0700)
commit62bc23d145d636f0de2bf412dcf31a33fcf16046
tree9adc95deaaf38643d115633e9787e61af0db1007
parent7bd06f69f3f52fcd04999790a2a9d66f1a8cd0c9
staging: comedi: amplc_pc236: 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 pc236_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_pc236.c