From: Jonathan Nieder Date: Fri, 6 Jan 2012 17:26:41 +0000 (-0300) Subject: [media] dvb-bt8xx: convert printks to pr_err() X-Git-Tag: v3.3-rc1~48^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c59eefd58837cf674b18e8b8760d0d0870fa8d5;p=pandora-kernel.git [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 Signed-off-by: Jonathan Nieder Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed