Commit a625e305 authored by Peter Huewe's avatar Peter Huewe Committed by Florian Tobias Schandinat

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: default avatarPeter Huewe <peterhuewe@gmx.de>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
parent dd9c1549
...@@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter, ...@@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
sprintf(adapter->name, "viafb i2c io_port idx 0x%02x", sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
adap_cfg->ioport_index); adap_cfg->ioport_index);
adapter->owner = THIS_MODULE; adapter->owner = THIS_MODULE;
adapter->id = 0x01FFFF;
adapter->class = I2C_CLASS_DDC; adapter->class = I2C_CLASS_DDC;
adapter->algo_data = algo; adapter->algo_data = algo;
if (pdev) if (pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment