summaryrefslogtreecommitdiff
path: root/drivers/media/video/et61x251/et61x251_core.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-08-21 19:56:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-03 21:11:59 -0300
commit857011e4d9bf47b39abcc89541a58c56e4df34be (patch)
treee9a70a5e2f5ecdac5fcff63913ad035678095ea4 /drivers/media/video/et61x251/et61x251_core.c
parent8af443e581ab57a6a38f595eb40be3514ea55195 (diff)
[media] et61x251: Use current logging styles
Add pr_fmt and convert printks to pr_<level> Remove explicit prefixes from logging messages. One of the prefixes was defective, a copy/paste error. Use ##__VA_ARGS__ for variadic macros. Whitespace neatening. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/et61x251/et61x251_core.c')
-rw-r--r--drivers/media/video/et61x251/et61x251_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c
index 9a1e80a1e145..d3777c86e1de 100644
--- a/drivers/media/video/et61x251/et61x251_core.c
+++ b/drivers/media/video/et61x251/et61x251_core.c
@@ -18,6 +18,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
***************************************************************************/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>