Skip to content

Commit

Permalink
video/via: drop deprecated (and unused) i2c_adapter.id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Florian Tobias Schandinat committed Mar 2, 2011
1 parent dd9c154 commit a625e30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/via/via_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ static int create_i2c_bus(struct i2c_adapter *adapter,
sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
adap_cfg->ioport_index);
adapter->owner = THIS_MODULE;
adapter->id = 0x01FFFF;
adapter->class = I2C_CLASS_DDC;
adapter->algo_data = algo;
if (pdev)
Expand Down

0 comments on commit a625e30

Please sign in to comment.