aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-09 19:27:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:44 -0200
commit0ac6e141eb105f5845eb7066b5279709393b1c78 (patch)
tree940a2ec0ce7a132d860f5271dd64ec06bffce2da
parent83dbe82bd7766e5045e6561bd44e22b801e7ad76 (diff)
V4L/DVB (13804): Remove unused I2C Adapter ID
Signed-off-by: <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/mantis/mantis_i2c.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_i2c.c b/drivers/media/dvb/mantis/mantis_i2c.c
index 9d2b51d2e4b..7bb4e78aa71 100644
--- a/drivers/media/dvb/mantis/mantis_i2c.c
+++ b/drivers/media/dvb/mantis/mantis_i2c.c
@@ -33,8 +33,6 @@
#include "mantis_reg.h"
#include "mantis_i2c.h"
-#define I2C_HW_B_MANTIS 0x1c
-
#define TRIALS 10000
static int mantis_i2c_read(struct mantis_pci *mantis, const struct i2c_msg *msg)
@@ -234,7 +232,6 @@ int __devinit mantis_i2c_init(struct mantis_pci *mantis)
i2c_adapter->class = I2C_CLASS_TV_DIGITAL;
i2c_adapter->algo = &mantis_algo;
i2c_adapter->algo_data = NULL;
- i2c_adapter->id = I2C_HW_B_MANTIS;
i2c_adapter->timeout = 500;
i2c_adapter->retries = 3;
i2c_adapter->dev.parent = &pdev->dev;