Skip to content

Commit

Permalink
i2c/vt8231: Remove superfluous initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Jean Delvare committed Feb 13, 2007
1 parent 849be51 commit bbeaeef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/hwmon/vt8231.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bbeaeef

Please sign in to comment.