]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_dio200: Replace printk calls
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 13:08:34 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:49:19 +0000 (20:49 -0700)
commit77c67ba278fddef27fc885cc4233a62ddd6c186e
tree7222b1429fe94664879c626be1b6cd40c5ab4792
parent14ab431da6f2e34f7e5187e4a8fceda62dd20126
staging: comedi: amplc_dio200: 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 dio200_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_dio200.c