summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-i2c.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-i2c.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-i2c.c b/linux/drivers/media/video/saa7134/saa7134-i2c.c
index 610e506b5..bdec276e0 100644
--- a/linux/drivers/media/video/saa7134/saa7134-i2c.c
+++ b/linux/drivers/media/video/saa7134/saa7134-i2c.c
@@ -331,11 +331,7 @@ static int attach_inform(struct i2c_client *client)
struct saa7134_dev *dev = client->adapter->algo_data;
d1printk( "%s i2c attach [addr=0x%x,client=%s]\n",
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- client->driver->name, client->addr, client->name);
-#else
client->driver->driver.name, client->addr, client->name);
-#endif
if (client->addr == 0x20 && client->driver && client->driver->command)
dev->mpeg_i2c_client = client;
@@ -349,11 +345,7 @@ static int attach_inform(struct i2c_client *client)
{
struct IR_i2c *ir = i2c_get_clientdata(client);
d1printk("%s i2c IR detected (%s).\n",
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- client->driver->name,ir->phys);
-#else
client->driver->driver.name, ir->phys);
-#endif
saa7134_set_i2c_ir(dev,ir);
break;
}