From: David Brownell Date: Tue, 13 Feb 2007 21:08:58 +0000 (+0100) Subject: i2c/vt8231: Remove superfluous initialization X-Git-Tag: v2.6.21-rc1~273^2~4^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bbeaeef73a0b0a5c43ad2657b61857167d914a55;p=platform%2Fkernel%2Flinux-exynos.git i2c/vt8231: Remove superfluous initialization 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 Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c index 93f93d4..a6a4aa0 100644 --- a/drivers/hwmon/vt8231.c +++ b/drivers/hwmon/vt8231.c @@ -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);