diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-07-12 16:58:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:01:05 -0400 |
commit | ebe4c6fa535b0410e58e9c8352320896d07e2efb (patch) | |
tree | b608627d954de8c5d795d10506722751f9db223b /drivers/media/video/tda7432.c | |
parent | 60acbc99e82753b0baa64834435caf81eabc2501 (diff) |
[PATCH] v4l: I2C Miscelaneous
- Removed unused structures.
- CodingStyle rules applied to comments.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/tda7432.c')
-rw-r--r-- | drivers/media/video/tda7432.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c index 07ba6d3ed08c..7cb1fb3e66f9 100644 --- a/drivers/media/video/tda7432.c +++ b/drivers/media/video/tda7432.c | |||
@@ -243,19 +243,6 @@ static int tda7432_write(struct i2c_client *client, int subaddr, int val) | |||
243 | } | 243 | } |
244 | 244 | ||
245 | /* I don't think we ever actually _read_ the chip... */ | 245 | /* I don't think we ever actually _read_ the chip... */ |
246 | #if 0 | ||
247 | static int tda7432_read(struct i2c_client *client) | ||
248 | { | ||
249 | unsigned char buffer; | ||
250 | d2printk("tda7432: In tda7432_read\n"); | ||
251 | if (1 != i2c_master_recv(client,&buffer,1)) { | ||
252 | printk(KERN_WARNING "tda7432: I/O error, trying (read)\n"); | ||
253 | return -1; | ||
254 | } | ||
255 | dprintk("tda7432: Read 0x%02x\n", buffer); | ||
256 | return buffer; | ||
257 | } | ||
258 | #endif | ||
259 | 246 | ||
260 | static int tda7432_set(struct i2c_client *client) | 247 | static int tda7432_set(struct i2c_client *client) |
261 | { | 248 | { |