Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbeaeef7 authored by David Brownell's avatar David Brownell Committed by Jean Delvare
Browse files

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 849be516
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);