V4L/DVB (5391): Saa7134: Clean up printk()s
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 7 Mar 2007 21:19:48 +0000 (18:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:18 +0000 (15:44 -0300)
commitcf3c34c87f921c5c63d47285c9860345cdaf5170
tree72d9e78f4b8ece7c3efd87ffdc32dc8466aada83
parent3b35b4b38049356b1e0b8e64ee27d1aca606b766
V4L/DVB (5391): Saa7134: Clean up printk()s

Change some debug messages from printk() to dprintk().

Add KERN_WARNING and KERN_ERR level indicators to other printk()s that
lacked them.

Format printk lines with consistent ("%s/dvb: ", dev->name) prefix.

Fixed dprintk macro, which had an if with no else that wasn't protected
with a do {} while(0) block.  That leads to "if(...) dprintk(); else" not
doing what one would expect.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-dvb.c