summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/tda18218_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-08-21 19:12:49 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-15 16:23:16 +0400
commit9edd6987c4d2af548f032c4c8dd96b561ac3d6fb (patch)
treeb1a9d0ef3be3c19be4c60cafacb46d7c2d4f7c1c /drivers/media/tuners/tda18218_priv.h
parentaf3a07ac70142f3c30c4fb23c7d3ec4c0e773cce (diff)
downloadlinux-9edd6987c4d2af548f032c4c8dd96b561ac3d6fb.tar.xz
[media] tda18218: switch to Kernel logging
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/tda18218_priv.h')
-rw-r--r--drivers/media/tuners/tda18218_priv.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/tuners/tda18218_priv.h b/drivers/media/tuners/tda18218_priv.h
index dc52b72e1407..285b77366c8d 100644
--- a/drivers/media/tuners/tda18218_priv.h
+++ b/drivers/media/tuners/tda18218_priv.h
@@ -21,18 +21,7 @@
#ifndef TDA18218_PRIV_H
#define TDA18218_PRIV_H
-#define LOG_PREFIX "tda18218"
-
-#undef dbg
-#define dbg(f, arg...) \
- if (debug) \
- printk(KERN_DEBUG LOG_PREFIX": " f "\n" , ## arg)
-#undef err
-#define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg)
-#undef info
-#define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg)
-#undef warn
-#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
+#include "tda18218.h"
#define R00_ID 0x00 /* ID byte */
#define R01_R1 0x01 /* Read byte 1 */