staging: comedi: replace printk calls in comedi core
authorIan Abbott <abbotti@mev.co.uk>
Thu, 16 Aug 2012 13:38:05 +0000 (14:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 18:35:45 +0000 (11:35 -0700)
commit4f870fe6269bbc7cca2a70c50a4cc6f811fe21c5
tree33f47291189020230a4265350a9b045ce3cce40f
parent00255d194321a4800de6bd87fc5b30972d5ecbb3
staging: comedi: replace printk calls in comedi core

Replace the printk() calls in the comedi core module with something more
suitable, such as dev_...() or pr_...().  Remove the ones that report a
failure to increment a module count (try_module_get() failure).  Change
the printk() call in the DPRINTK() macro to pr_debug().

TODO: Most of the DPRINTK() calls need to be replaced with something
else.

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