Commit a824f0f4 authored by Jean Delvare's avatar Jean Delvare Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4a5006f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -348,7 +348,7 @@ static void do_i2c_scan(char *name, struct i2c_client *c)
	}
}

/* init + register i2c algo-bit adapter */
/* init + register i2c adapter */
int au0828_i2c_register(struct au0828_dev *dev)
{
	dprintk(1, "%s()\n", __func__);
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ static void do_i2c_scan(char *name, struct i2c_client *c)
	}
}

/* init + register i2c algo-bit adapter */
/* init + register i2c adapter */
int __devinit init_bttv_i2c(struct bttv *btv)
{
	strlcpy(btv->i2c_client.name, "bttv internal", I2C_NAME_SIZE);
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ static struct i2c_algo_bit_data cx18_i2c_algo_template = {
	.timeout	= CX18_ALGO_BIT_TIMEOUT*HZ /* jiffies */
};

/* init + register i2c algo-bit adapter */
/* init + register i2c adapter */
int init_cx18_i2c(struct cx18 *cx)
{
	int i, err;
+1 −1
Original line number Diff line number Diff line
@@ -24,6 +24,6 @@
int cx18_i2c_register(struct cx18 *cx, unsigned idx);
struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw);

/* init + register i2c algo-bit adapter */
/* init + register i2c adapter */
int init_cx18_i2c(struct cx18 *cx);
void exit_cx18_i2c(struct cx18 *cx);
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ static void do_i2c_scan(char *name, struct i2c_client *c)
	}
}

/* init + register i2c algo-bit adapter */
/* init + register i2c adapter */
int cx23885_i2c_register(struct cx23885_i2c *bus)
{
	struct cx23885_dev *dev = bus->dev;
Loading