aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-11-09 11:27:53 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 12:11:17 -0500
commita824f0f445ad2c86a40b4bf43acba26dfd0a98a9 (patch)
tree10ad4a70f1f40b6077aa80ce05054f0d16c3a5e2 /drivers/media/video/cx18
parent4a5006f68d6b336564eb1e4cbb1f66d234958889 (diff)
[media] video: Drop undue references to i2c-algo-bit
There's one comment that has been copied from bttv to many other media/video drivers: /* init + register i2c algo-bit adapter */ Meanwhile, many drivers use hardware I2C implementations instead of relying on i2c-algo-bit, so this comment is misleading. Remove the reference to "algo-bit" from all drivers, to avoid any confusion. This is the best way to ensure that the comments won't go out of sync again. Anyone interested in the implementation details would rather look at the code itself. 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')
-rw-r--r--drivers/media/video/cx18/cx18-i2c.c2
-rw-r--r--drivers/media/video/cx18/cx18-i2c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c
index 040aaa87579d..51609d5c88ce 100644
--- a/drivers/media/video/cx18/cx18-i2c.c
+++ b/drivers/media/video/cx18/cx18-i2c.c
@@ -232,7 +232,7 @@ static struct i2c_algo_bit_data cx18_i2c_algo_template = {
232 .timeout = CX18_ALGO_BIT_TIMEOUT*HZ /* jiffies */ 232 .timeout = CX18_ALGO_BIT_TIMEOUT*HZ /* jiffies */
233}; 233};
234 234
235/* init + register i2c algo-bit adapter */ 235/* init + register i2c adapter */
236int init_cx18_i2c(struct cx18 *cx) 236int init_cx18_i2c(struct cx18 *cx)
237{ 237{
238 int i, err; 238 int i, err;
diff --git a/drivers/media/video/cx18/cx18-i2c.h b/drivers/media/video/cx18/cx18-i2c.h
index bdfd1921e300..1180fdc8d983 100644
--- a/drivers/media/video/cx18/cx18-i2c.h
+++ b/drivers/media/video/cx18/cx18-i2c.h
@@ -24,6 +24,6 @@
24int cx18_i2c_register(struct cx18 *cx, unsigned idx); 24int cx18_i2c_register(struct cx18 *cx, unsigned idx);
25struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw); 25struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw);
26 26
27/* init + register i2c algo-bit adapter */ 27/* init + register i2c adapter */
28int init_cx18_i2c(struct cx18 *cx); 28int init_cx18_i2c(struct cx18 *cx);
29void exit_cx18_i2c(struct cx18 *cx); 29void exit_cx18_i2c(struct cx18 *cx);