[i2c] [patch 2.6.19-rc6 12/11] hwmon updates
Jean Delvare
khali at linux-fr.org
Mon Dec 18 10:33:08 CET 2006
Hi David,
On Fri, 15 Dec 2006 11:14:12 -0800, David Brownell wrote:
> 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 at users.sourceforge.net>
>
> Index: at91/drivers/hwmon/vt8231.c
> ===================================================================
> --- at91.orig/drivers/hwmon/vt8231.c 2006-12-15 10:41:47.000000000 -0800
> +++ at91/drivers/hwmon/vt8231.c 2006-12-15 10:45:15.000000000 -0800
> @@ -727,7 +729,6 @@ int vt8231_detect(struct i2c_adapter *ad
> 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);
Applied, thanks.
--
Jean Delvare
More information about the i2c
mailing list