diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-17 12:23:57 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-17 12:23:57 -0200 |
commit | 61593977cbfd023e6517df74c796085165346ea3 (patch) | |
tree | 033af8da88e159a1a93f5d59d125c8a89b85375f /linux/drivers/media/video/pvrusb2 | |
parent | c0b9721b6eaa5f1183f2b22f730626ecd195c832 (diff) | |
download | mediapointer-dvb-s2-61593977cbfd023e6517df74c796085165346ea3.tar.gz mediapointer-dvb-s2-61593977cbfd023e6517df74c796085165346ea3.tar.bz2 |
backport changeset 3be27d37c257fa5f99363f9c8e06e405cbad712e
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Original description:
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.
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index 33df47078..97f94e598 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c @@ -595,12 +595,6 @@ static int pvr2_i2c_xfer(struct i2c_adapter *i2c_adap, return ret; } -static int pvr2_i2c_control(struct i2c_adapter *adapter, - unsigned int cmd, unsigned long arg) -{ - return 0; -} - static u32 pvr2_i2c_functionality(struct i2c_adapter *adap) { return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; @@ -1028,7 +1022,6 @@ static struct i2c_algorithm pvr2_i2c_algo_template = { .id = I2C_HW_B_BT848, #endif .master_xfer = pvr2_i2c_xfer, - .algo_control = pvr2_i2c_control, .functionality = pvr2_i2c_functionality, }; |