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/tda9875.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/tda9875.c')
-rw-r--r-- | drivers/media/video/tda9875.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c index 97b113e070f3..566e1a5ca135 100644 --- a/drivers/media/video/tda9875.c +++ b/drivers/media/video/tda9875.c | |||
@@ -123,19 +123,6 @@ static int tda9875_write(struct i2c_client *client, int subaddr, unsigned char v | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | #if 0 | ||
127 | static int tda9875_read(struct i2c_client *client) | ||
128 | { | ||
129 | unsigned char buffer; | ||
130 | dprintk("In tda9875_read\n"); | ||
131 | if (1 != i2c_master_recv(client,&buffer,1)) { | ||
132 | printk(KERN_WARNING "tda9875: I/O error, trying (read)\n"); | ||
133 | return -1; | ||
134 | } | ||
135 | dprintk("Read 0x%02x\n", buffer); | ||
136 | return buffer; | ||
137 | } | ||
138 | #endif | ||
139 | 126 | ||
140 | static int i2c_read_register(struct i2c_adapter *adap, int addr, int reg) | 127 | static int i2c_read_register(struct i2c_adapter *adap, int addr, int reg) |
141 | { | 128 | { |