]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02c94ac41723682a2c2c7ae4c26e34a837820b40
tree02d3200b872098e184f62a056e7ad1244e9f5c06
parentcb51eb2549de292dde30f8cbc90d9feb74682796
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