aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828/au0828-i2c.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-04-17 20:41:28 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:43 -0400
commita9c36aad59a06df199cdbb365d0b05663f8008f1 (patch)
tree505cceb8d6842bf3ff7624de1d619deea98fc8cc /drivers/media/video/au0828/au0828-i2c.c
parent0daa5de740c65de7c9554071eec84c6731370065 (diff)
V4L/DVB (7634): au0828: Cleanup
au0828: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828-i2c.c')
-rw-r--r--drivers/media/video/au0828/au0828-i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/au0828/au0828-i2c.c b/drivers/media/video/au0828/au0828-i2c.c
index c1e1cf6ed95a..ae73a6769296 100644
--- a/drivers/media/video/au0828/au0828-i2c.c
+++ b/drivers/media/video/au0828/au0828-i2c.c
@@ -151,7 +151,7 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap,
151 151
152 dprintk(4, "SEND: %02x\n", msg->addr); 152 dprintk(4, "SEND: %02x\n", msg->addr);
153 153
154 for (i=0; i < msg->len;) { 154 for (i = 0; i < msg->len;) {
155 155
156 dprintk(4, " %02x\n", msg->buf[i]); 156 dprintk(4, " %02x\n", msg->buf[i]);
157 157
@@ -210,7 +210,7 @@ static int i2c_readbytes(struct i2c_adapter *i2c_adap,
210 return 0; 210 return 0;
211 } 211 }
212 212
213 for (i=0; i < msg->len;) { 213 for (i = 0; i < msg->len;) {
214 214
215 i++; 215 i++;
216 216
@@ -241,7 +241,7 @@ static int i2c_xfer(struct i2c_adapter *i2c_adap,
241 241
242 dprintk(4, "%s(num = %d)\n", __func__, num); 242 dprintk(4, "%s(num = %d)\n", __func__, num);
243 243
244 for (i = 0 ; i < num; i++) { 244 for (i = 0; i < num; i++) {
245 dprintk(4, "%s(num = %d) addr = 0x%02x len = 0x%x\n", 245 dprintk(4, "%s(num = %d) addr = 0x%02x len = 0x%x\n",
246 __func__, num, msgs[i].addr, msgs[i].len); 246 __func__, num, msgs[i].addr, msgs[i].len);
247 if (msgs[i].flags & I2C_M_RD) { 247 if (msgs[i].flags & I2C_M_RD) {