From: Peter Huewe Date: Tue, 25 Jan 2011 21:34:24 +0000 (+0100) Subject: video/via: drop deprecated (and unused) i2c_adapter.id X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a625e305edd8e3ac08888a9b52981205b68cdb0e;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Jean Delvare Signed-off-by: Florian Tobias Schandinat --- 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, 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)