[media] dvb-bt8xx: convert printks to pr_err()
commit6c59eefd58837cf674b18e8b8760d0d0870fa8d5
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 6 Jan 2012 17:26:41 +0000 (6 14:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 7 Jan 2012 13:53:35 +0000 (7 11:53 -0200)
treebd7655c02e0b845021cdf728f1f4c76f07569e96
parent3796554671e6314e1ab368f5f09e302ba1bda538
[media] dvb-bt8xx: convert printks to pr_err()

This module does some printks with the loglevel missing.

pr_err() takes care of adding the KERN_ERR tag and the module name.
So we can simplify the code and add the missing printk loglevel by
using it.

Also add a #define pr_fmt() to make this work, and remove a few
unnecessary periods at the end of messages and bump the loglevel of
"Unknown bttv card type" from KERN_WARNING to KERN_ERR while at it.

Inspired-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/bt8xx/dvb-bt8xx.c