staging: comedi: amplc_pc263: Replace printk calls
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 May 2012 18:04:41 +0000 (19:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:48:07 +0000 (20:48 -0700)
commit03668b101362b031b74a7cde865fa7346b44eb30
tree02d3200b872098e184f62a056e7ad1244e9f5c06
parentba7914cd133cff9ac73e3434ba6980f2ac97a362
staging: comedi: amplc_pc263: Replace printk calls

Replace the printk calls with dev_info, dev_err, etc.  There were some
consecutive printk calls without newlines which now snprintf into a
temporary buffer and this bit of code has been factored out into new
function pc263_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_pc263.c