diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-14 01:56:32 +0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-14 01:56:32 +0400 |
commit | 3be27d37c257fa5f99363f9c8e06e405cbad712e (patch) | |
tree | 261b7945e9b7bf6819ad72f50bfe3d33a3a388bf /drivers/media/video/saa7134/saa7134-i2c.c | |
parent | e265cfa19c1220938de5f0291ed8d549a523de3c (diff) | |
download | linux-3be27d37c257fa5f99363f9c8e06e405cbad712e.tar.xz |
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/saa7134/saa7134-i2c.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-i2c.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/saa7134/saa7134-i2c.c b/drivers/media/video/saa7134/saa7134-i2c.c index cc87f5855a21..6deaad1a5480 100644 --- a/drivers/media/video/saa7134/saa7134-i2c.c +++ b/drivers/media/video/saa7134/saa7134-i2c.c @@ -314,12 +314,6 @@ static int saa7134_i2c_xfer(struct i2c_adapter *i2c_adap, /* ----------------------------------------------------------- */ -static int algo_control(struct i2c_adapter *adapter, - unsigned int cmd, unsigned long arg) -{ - return 0; -} - static u32 functionality(struct i2c_adapter *adap) { return I2C_FUNC_SMBUS_EMUL; @@ -387,7 +381,6 @@ static int attach_inform(struct i2c_client *client) static struct i2c_algorithm saa7134_algo = { .master_xfer = saa7134_i2c_xfer, - .algo_control = algo_control, .functionality = functionality, }; |