staging: comedi: amplc_pci224: Replace printk calls
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 15:02:03 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:50:06 +0000 (20:50 -0700)
commiteedc1b7be2ea7c8350f359ff9afa568cb89a70d7
tree4ec2dcb24adc51230ccee219cc023ae181fb462b
parent52954abcee66f9a3c5c2416a89c8b2affd2f5a2b
staging: comedi: amplc_pci224: 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 pci224_report_attach().

A couple of DPRINTK() macro calls which may result in printk() calls
have been left alone to be tackled en masse at a later date.

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