Commit bbeaeef73a0b0a5c43ad2657b61857167d914a55
Committed by
Jean Delvare
1 parent
849be516c5
Exists in
master
and in
4 other branches
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 <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff
drivers/hwmon/vt8231.c
... | ... | @@ -727,7 +727,6 @@ |
727 | 727 | client->addr = isa_address; |
728 | 728 | client->adapter = adapter; |
729 | 729 | client->driver = &vt8231_driver; |
730 | - client->dev.parent = &adapter->dev; | |
731 | 730 | |
732 | 731 | /* Fill in the remaining client fields and put into the global list */ |
733 | 732 | strlcpy(client->name, "vt8231", I2C_NAME_SIZE); |