diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2011-01-25 16:34:24 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-02 12:11:58 -0500 |
commit | a625e305edd8e3ac08888a9b52981205b68cdb0e (patch) | |
tree | 6f6f42dfd6430ef388db20611f721f87e32bc7d3 /drivers/video/via/via_i2c.c | |
parent | dd9c1549edef02290edced639f67b54a25abbe0e (diff) |
video/via: drop deprecated (and unused) i2c_adapter.id
This patch removes an assignment to the deprecated i2c_adapter.id
field. Since the field isn't used anywhere else in the driver it is
save to remove it.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/via_i2c.c')
-rw-r--r-- | drivers/video/via/via_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c index 3844b558b7bd..a172a31f168f 100644 --- a/drivers/video/via/via_i2c.c +++ b/drivers/video/via/via_i2c.c | |||
@@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter, | |||
209 | sprintf(adapter->name, "viafb i2c io_port idx 0x%02x", | 209 | sprintf(adapter->name, "viafb i2c io_port idx 0x%02x", |
210 | adap_cfg->ioport_index); | 210 | adap_cfg->ioport_index); |
211 | adapter->owner = THIS_MODULE; | 211 | adapter->owner = THIS_MODULE; |
212 | adapter->id = 0x01FFFF; | ||
213 | adapter->class = I2C_CLASS_DDC; | 212 | adapter->class = I2C_CLASS_DDC; |
214 | adapter->algo_data = algo; | 213 | adapter->algo_data = algo; |
215 | if (pdev) | 214 | if (pdev) |