summaryrefslogtreecommitdiff
path: root/drivers/media/video/ovcamchip
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-01-07 16:29:17 +0300
committerJean Delvare <khali@linux-fr.org>2009-01-07 16:29:17 +0300
commitb305271861219f0ce162eb565f0f28f4c781299d (patch)
tree727cd98ff7f968f0c17ce85d6355ad313797ba57 /drivers/media/video/ovcamchip
parent994a075f0f2e8cdb919d8e495f98211651e3c461 (diff)
downloadlinux-b305271861219f0ce162eb565f0f28f4c781299d.tar.xz
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/ovcamchip')
-rw-r--r--drivers/media/video/ovcamchip/ovcamchip_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/ovcamchip/ovcamchip_core.c b/drivers/media/video/ovcamchip/ovcamchip_core.c
index 2c4acbf5a4fe..c841f4e4fbe4 100644
--- a/drivers/media/video/ovcamchip/ovcamchip_core.c
+++ b/drivers/media/video/ovcamchip/ovcamchip_core.c
@@ -405,7 +405,6 @@ static struct i2c_driver driver = {
.name = "ovcamchip",
},
.id = I2C_DRIVERID_OVCAMCHIP,
- .class = I2C_CLASS_CAM_DIGITAL,
.attach_adapter = ovcamchip_attach,
.detach_client = ovcamchip_detach,
.command = ovcamchip_command,