]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_660x: convert printk() to dev_...()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 14 Sep 2012 16:34:07 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 12:09:04 +0000 (05:09 -0700)
commita8adadee9427e23fe7513fc214fe29f7307e7aa1
tree291edb72740c97e27ae2bff305b5d911e3eb87e0
parentc50e9939ed3c7db1c8fa7d50ebe07c0c13f81fbc
staging: comedi: ni_660x: convert printk() to dev_...()

Convert the `printk()` calls in this drivers to use the `dev_...()`
calls instead.  Replace some `printk()` calls in the comedi `attach()`
handler (`ni_660x_attach()`) with a single `dev_info()` at the end.
Remove some `printk()` calls before `BUG()` calls.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_660x.c