diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-10-13 17:56:32 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-13 17:56:32 -0400 |
commit | cdeec3cc79c7b1acfa89fb362b01e544ecfb285c (patch) | |
tree | 95d384f3420d8e4e2ad40d2e89bb9f5cf1ae4c1c /drivers/media | |
parent | 3be27d37c257fa5f99363f9c8e06e405cbad712e (diff) |
cx23885: Drop empty i2c algorithm control callback
i2c_algorithm.algo_control is about to be removed.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-i2c.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/cx23885/cx23885-i2c.c b/drivers/media/video/cx23885/cx23885-i2c.c index b517c8b5a566..71da528932df 100644 --- a/drivers/media/video/cx23885/cx23885-i2c.c +++ b/drivers/media/video/cx23885/cx23885-i2c.c | |||
@@ -272,12 +272,6 @@ void cx23885_call_i2c_clients(struct cx23885_i2c *bus, | |||
272 | i2c_clients_command(&bus->i2c_adap, cmd, arg); | 272 | i2c_clients_command(&bus->i2c_adap, cmd, arg); |
273 | } | 273 | } |
274 | 274 | ||
275 | static int cx23885_algo_control(struct i2c_adapter *adap, | ||
276 | unsigned int cmd, unsigned long arg) | ||
277 | { | ||
278 | return 0; | ||
279 | } | ||
280 | |||
281 | static u32 cx23885_functionality(struct i2c_adapter *adap) | 275 | static u32 cx23885_functionality(struct i2c_adapter *adap) |
282 | { | 276 | { |
283 | return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; | 277 | return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; |
@@ -285,7 +279,6 @@ static u32 cx23885_functionality(struct i2c_adapter *adap) | |||
285 | 279 | ||
286 | static struct i2c_algorithm cx23885_i2c_algo_template = { | 280 | static struct i2c_algorithm cx23885_i2c_algo_template = { |
287 | .master_xfer = i2c_xfer, | 281 | .master_xfer = i2c_xfer, |
288 | .algo_control = cx23885_algo_control, | ||
289 | .functionality = cx23885_functionality, | 282 | .functionality = cx23885_functionality, |
290 | }; | 283 | }; |
291 | 284 | ||