summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r--linux/drivers/media/video/tuner-core.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index d80f7ee91..60d26aa03 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -32,11 +32,7 @@
#define UNSET (-1U)
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 15)
-#define PREFIX t->i2c->driver->name
-#else
#define PREFIX t->i2c->driver->driver.name
-#endif
/** This macro allows us to probe dynamically, avoiding static links */
#ifdef CONFIG_MEDIA_ATTACH
@@ -500,15 +496,9 @@ static void set_type(struct i2c_client *c, unsigned int type,
set_freq(c, (V4L2_TUNER_RADIO == t->mode) ?
t->radio_freq : t->tv_freq);
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- tuner_dbg("%s %s I2C addr 0x%02x with type %d used for 0x%02x\n",
- c->adapter->name, c->driver->name, c->addr << 1, type,
- t->mode_mask);
-#else
tuner_dbg("%s %s I2C addr 0x%02x with type %d used for 0x%02x\n",
c->adapter->name, c->driver->driver.name, c->addr << 1, type,
t->mode_mask);
-#endif
tuner_i2c_address_check(t);
return;