summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-i2c.c
diff options
context:
space:
mode:
authorJean Delvare2009-06-19 21:56:56 +0200
committerMauro Carvalho Chehab2009-09-12 17:18:13 +0200
commite81516c58ef84663ee05a43760a53a416d529de7 (patch)
treeaed105e2f188e825d3aca963aacbd4cbc727705f /drivers/media/video/cx18/cx18-i2c.c
parentV4L/DVB (12342): af9015: avoid magically sized temporary buffer in eeprom_dump (diff)
downloadkernel-qcow2-linux-e81516c58ef84663ee05a43760a53a416d529de7.tar.gz
kernel-qcow2-linux-e81516c58ef84663ee05a43760a53a416d529de7.tar.xz
kernel-qcow2-linux-e81516c58ef84663ee05a43760a53a416d529de7.zip
V4L/DVB (12343): Stop defining I2C adapter IDs nobody uses
There is no point in defining I2C adapter IDs when no code is using them. As this field might go away in the future, stop using it when we don't need to. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-i2c.c')
-rw-r--r--drivers/media/video/cx18/cx18-i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c
index 8591e4fc359f..237d84841b26 100644
--- a/drivers/media/video/cx18/cx18-i2c.c
+++ b/drivers/media/video/cx18/cx18-i2c.c
@@ -190,7 +190,6 @@ static int cx18_getsda(void *data)
/* template for i2c-bit-algo */
static struct i2c_adapter cx18_i2c_adap_template = {
.name = "cx18 i2c driver",
- .id = I2C_HW_B_CX2341X,
.algo = NULL, /* set by i2c-algo-bit */
.algo_data = NULL, /* filled from template */
.owner = THIS_MODULE,