aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cafe_ccic.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-19 15:56:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 11:18:13 -0400
commite81516c58ef84663ee05a43760a53a416d529de7 (patch)
treeaed105e2f188e825d3aca963aacbd4cbc727705f /drivers/media/video/cafe_ccic.c
parent43f8de7ac6d504dea159d7842724857e9e020964 (diff)
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/cafe_ccic.c')
-rw-r--r--drivers/media/video/cafe_ccic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c
index c4d181dde1ca..9c149a781294 100644
--- a/drivers/media/video/cafe_ccic.c
+++ b/drivers/media/video/cafe_ccic.c
@@ -490,7 +490,6 @@ static int cafe_smbus_setup(struct cafe_camera *cam)
490 int ret; 490 int ret;
491 491
492 cafe_smbus_enable_irq(cam); 492 cafe_smbus_enable_irq(cam);
493 adap->id = I2C_HW_SMBUS_CAFE;
494 adap->owner = THIS_MODULE; 493 adap->owner = THIS_MODULE;
495 adap->algo = &cafe_smbus_algo; 494 adap->algo = &cafe_smbus_algo;
496 strcpy(adap->name, "cafe_ccic"); 495 strcpy(adap->name, "cafe_ccic");