diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-13 17:56:32 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-13 17:56:32 -0400 |
commit | 3be27d37c257fa5f99363f9c8e06e405cbad712e (patch) | |
tree | 261b7945e9b7bf6819ad72f50bfe3d33a3a388bf /drivers/media/video/em28xx | |
parent | e265cfa19c1220938de5f0291ed8d549a523de3c (diff) |
i2c: Remove NOP i2c_algorithm.algo_control() methods
This removes NOP implementations of i2c_algorithm.algo_control.
With this change, there are no implementations of this hook in
the kernel.org tree ... that hook seems about ripe to remove.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-i2c.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/em28xx/em28xx-i2c.c b/drivers/media/video/em28xx/em28xx-i2c.c index 54ccc6e1f92e..997d067e32e0 100644 --- a/drivers/media/video/em28xx/em28xx-i2c.c +++ b/drivers/media/video/em28xx/em28xx-i2c.c | |||
@@ -383,15 +383,6 @@ static int em28xx_i2c_eeprom(struct em28xx *dev, unsigned char *eedata, int len) | |||
383 | /* ----------------------------------------------------------- */ | 383 | /* ----------------------------------------------------------- */ |
384 | 384 | ||
385 | /* | 385 | /* |
386 | * algo_control() | ||
387 | */ | ||
388 | static int algo_control(struct i2c_adapter *adapter, | ||
389 | unsigned int cmd, unsigned long arg) | ||
390 | { | ||
391 | return 0; | ||
392 | } | ||
393 | |||
394 | /* | ||
395 | * functionality() | 386 | * functionality() |
396 | */ | 387 | */ |
397 | static u32 functionality(struct i2c_adapter *adap) | 388 | static u32 functionality(struct i2c_adapter *adap) |
@@ -475,7 +466,6 @@ static int attach_inform(struct i2c_client *client) | |||
475 | 466 | ||
476 | static struct i2c_algorithm em28xx_algo = { | 467 | static struct i2c_algorithm em28xx_algo = { |
477 | .master_xfer = em28xx_i2c_xfer, | 468 | .master_xfer = em28xx_i2c_xfer, |
478 | .algo_control = algo_control, | ||
479 | .functionality = functionality, | 469 | .functionality = functionality, |
480 | }; | 470 | }; |
481 | 471 | ||