summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cafe_ccic.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-01-07 14:29:17 +0100
committerJean Delvare <khali@linux-fr.org>2009-01-07 14:29:17 +0100
commitb305271861219f0ce162eb565f0f28f4c781299d (patch)
tree727cd98ff7f968f0c17ce85d6355ad313797ba57 /drivers/media/video/cafe_ccic.c
parent994a075f0f2e8cdb919d8e495f98211651e3c461 (diff)
downloadop-kernel-dev-b305271861219f0ce162eb565f0f28f4c781299d.zip
op-kernel-dev-b305271861219f0ce162eb565f0f28f4c781299d.tar.gz
i2c: Drop I2C_CLASS_CAM_DIGITAL
There are a number of drivers which set their i2c bus class to I2C_CLASS_CAM_DIGITAL, however no chip driver actually checks for this flag, so we might as well drop it now. Signed-off-by: Jean Delvare <khali@linux-fr.org>
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 34a39d2..46fd573 100644
--- a/drivers/media/video/cafe_ccic.c
+++ b/drivers/media/video/cafe_ccic.c
@@ -569,7 +569,6 @@ static int cafe_smbus_setup(struct cafe_camera *cam)
cafe_smbus_enable_irq(cam);
adap->id = I2C_HW_SMBUS_CAFE;
- adap->class = I2C_CLASS_CAM_DIGITAL;
adap->owner = THIS_MODULE;
adap->client_register = cafe_smbus_attach;
adap->client_unregister = cafe_smbus_detach;
OpenPOWER on IntegriCloud