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/bt8xx | |
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/bt8xx')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-i2c.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/bt8xx/bttv-i2c.c b/drivers/media/video/bt8xx/bttv-i2c.c index 844f1762c45a..4d5b8035e466 100644 --- a/drivers/media/video/bt8xx/bttv-i2c.c +++ b/drivers/media/video/bt8xx/bttv-i2c.c | |||
@@ -124,12 +124,6 @@ static struct i2c_adapter bttv_i2c_adap_sw_template = { | |||
124 | /* ----------------------------------------------------------------------- */ | 124 | /* ----------------------------------------------------------------------- */ |
125 | /* I2C functions - hardware i2c */ | 125 | /* I2C functions - hardware i2c */ |
126 | 126 | ||
127 | static int algo_control(struct i2c_adapter *adapter, | ||
128 | unsigned int cmd, unsigned long arg) | ||
129 | { | ||
130 | return 0; | ||
131 | } | ||
132 | |||
133 | static u32 functionality(struct i2c_adapter *adap) | 127 | static u32 functionality(struct i2c_adapter *adap) |
134 | { | 128 | { |
135 | return I2C_FUNC_SMBUS_EMUL; | 129 | return I2C_FUNC_SMBUS_EMUL; |
@@ -278,7 +272,6 @@ static int bttv_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int | |||
278 | 272 | ||
279 | static struct i2c_algorithm bttv_algo = { | 273 | static struct i2c_algorithm bttv_algo = { |
280 | .master_xfer = bttv_i2c_xfer, | 274 | .master_xfer = bttv_i2c_xfer, |
281 | .algo_control = algo_control, | ||
282 | .functionality = functionality, | 275 | .functionality = functionality, |
283 | }; | 276 | }; |
284 | 277 | ||