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/i2c | |
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/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-iop3xx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/i2c/busses/i2c-iop3xx.c b/drivers/i2c/busses/i2c-iop3xx.c index ace644e21b14..c70146e4c2c0 100644 --- a/drivers/i2c/busses/i2c-iop3xx.c +++ b/drivers/i2c/busses/i2c-iop3xx.c | |||
@@ -389,13 +389,6 @@ iop3xx_i2c_master_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, | |||
389 | return im; | 389 | return im; |
390 | } | 390 | } |
391 | 391 | ||
392 | static int | ||
393 | iop3xx_i2c_algo_control(struct i2c_adapter *adapter, unsigned int cmd, | ||
394 | unsigned long arg) | ||
395 | { | ||
396 | return 0; | ||
397 | } | ||
398 | |||
399 | static u32 | 392 | static u32 |
400 | iop3xx_i2c_func(struct i2c_adapter *adap) | 393 | iop3xx_i2c_func(struct i2c_adapter *adap) |
401 | { | 394 | { |
@@ -404,7 +397,6 @@ iop3xx_i2c_func(struct i2c_adapter *adap) | |||
404 | 397 | ||
405 | static const struct i2c_algorithm iop3xx_i2c_algo = { | 398 | static const struct i2c_algorithm iop3xx_i2c_algo = { |
406 | .master_xfer = iop3xx_i2c_master_xfer, | 399 | .master_xfer = iop3xx_i2c_master_xfer, |
407 | .algo_control = iop3xx_i2c_algo_control, | ||
408 | .functionality = iop3xx_i2c_func, | 400 | .functionality = iop3xx_i2c_func, |
409 | }; | 401 | }; |
410 | 402 | ||