]> 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)
commitdb0211ba42c842ac9e2a1c9a399f6d2b99e0d8b4
tree02d3200b872098e184f62a056e7ad1244e9f5c06
parentaafe7d0875afc11c948ca5bfe5b211774d1de0d7
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