diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-13 23:56:32 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-13 23:56:32 +0200 |
commit | 3be27d37c257fa5f99363f9c8e06e405cbad712e (patch) | |
tree | 261b7945e9b7bf6819ad72f50bfe3d33a3a388bf /drivers/media/video/w9968cf.c | |
parent | i2c-dev: Reject I2C_M_RECV_LEN (diff) | |
download | linux-3be27d37c257fa5f99363f9c8e06e405cbad712e.tar.xz linux-3be27d37c257fa5f99363f9c8e06e405cbad712e.zip |
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/w9968cf.c')
-rw-r--r-- | drivers/media/video/w9968cf.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c index 5a1b5f5a7d46..9e7f3e685d73 100644 --- a/drivers/media/video/w9968cf.c +++ b/drivers/media/video/w9968cf.c @@ -444,8 +444,6 @@ static int w9968cf_i2c_smbus_xfer(struct i2c_adapter*, u16 addr, static u32 w9968cf_i2c_func(struct i2c_adapter*); static int w9968cf_i2c_attach_inform(struct i2c_client*); static int w9968cf_i2c_detach_inform(struct i2c_client*); -static int w9968cf_i2c_control(struct i2c_adapter*, unsigned int cmd, - unsigned long arg); /* Memory management */ static void* rvmalloc(unsigned long size); @@ -1543,21 +1541,12 @@ static int w9968cf_i2c_detach_inform(struct i2c_client* client) } -static int -w9968cf_i2c_control(struct i2c_adapter* adapter, unsigned int cmd, - unsigned long arg) -{ - return 0; -} - - static int w9968cf_i2c_init(struct w9968cf_device* cam) { int err = 0; static struct i2c_algorithm algo = { .smbus_xfer = w9968cf_i2c_smbus_xfer, - .algo_control = w9968cf_i2c_control, .functionality = w9968cf_i2c_func, }; |