summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvmixer.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-22 10:31:50 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:59:57 -0300
commitf6320bd3df5964619346bac77b36d03c5a82f6fd (patch)
tree1a293e3ad89d4d4db1b486fad8cc383a20c932dd /drivers/media/video/tvmixer.c
parent7923dee035ec81f6e4ad696e3edddbdd34d37873 (diff)
downloadblackbird-op-linux-f6320bd3df5964619346bac77b36d03c5a82f6fd.tar.gz
blackbird-op-linux-f6320bd3df5964619346bac77b36d03c5a82f6fd.zip
V4L/DVB (3968a): Remove compatibility check for I2C_PEC
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tvmixer.c')
-rw-r--r--drivers/media/video/tvmixer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c
index 9e86caeb96a7..1654576de10e 100644
--- a/drivers/media/video/tvmixer.c
+++ b/drivers/media/video/tvmixer.c
@@ -198,10 +198,6 @@ static int tvmixer_open(struct inode *inode, struct file *file)
/* lock bttv in memory while the mixer is in use */
file->private_data = mix;
-#ifndef I2C_PEC
- if (client->adapter->inc_use)
- client->adapter->inc_use(client->adapter);
-#endif
if (client->adapter->owner)
try_module_get(client->adapter->owner);
return 0;
@@ -217,10 +213,6 @@ static int tvmixer_release(struct inode *inode, struct file *file)
return -ENODEV;
}
-#ifndef I2C_PEC
- if (client->adapter->dec_use)
- client->adapter->dec_use(client->adapter);
-#endif
if (client->adapter->owner)
module_put(client->adapter->owner);
return 0;
OpenPOWER on IntegriCloud