video/via: drop deprecated (and unused) i2c_adapter.id
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 25 Jan 2011 21:34:24 +0000 (22:34 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 2 Mar 2011 17:11:58 +0000 (17:11 +0000)
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>
drivers/video/via/via_i2c.c

index 3844b558b7bd2456d7650fa8275d70f5d38ca8e9..a172a31f168fe1e8754349ef45dfe3e9153d3951 100644 (file)
@@ -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)