]> err.no Git - linux-2.6/commitdiff
i2c/vt8231: Remove superfluous initialization
authorDavid Brownell <david-b@pacbell.net>
Tue, 13 Feb 2007 21:08:58 +0000 (22:08 +0100)
committerJean Delvare <khali@arrakis.delvare>
Tue, 13 Feb 2007 21:08:58 +0000 (22:08 +0100)
Remove a superfluous initialization from the vt8231 hwmon driver; the
i2c core does this, and the source field will be vanishing soon.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/vt8231.c

index 93f93d4fb8aec2126e86131e9077703c4e1e171d..a6a4aa0eee166d3ac029d2e7c49c8a4c714fe2bf 100644 (file)
@@ -727,7 +727,6 @@ int vt8231_detect(struct i2c_adapter *adapter)
        client->addr = isa_address;
        client->adapter = adapter;
        client->driver = &vt8231_driver;
-       client->dev.parent = &adapter->dev;
 
        /* Fill in the remaining client fields and put into the global list */
        strlcpy(client->name, "vt8231", I2C_NAME_SIZE);