hwmon: Avoid initializing the same field twice

All hwmon drivers allocate their data structure with some form of
kzalloc, so setting data fields to zero explicitly is a waste of time.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Šī revīzija ir iekļauta:
Jean Delvare
2014-04-04 18:01:34 +02:00
vecāks 5b58157598
revīzija 6cf0a91ebe
10 mainīti faili ar 0 papildinājumiem un 14 dzēšanām

Parādīt failu

@@ -273,7 +273,6 @@ static int max1619_probe(struct i2c_client *new_client,
return -ENOMEM;
i2c_set_clientdata(new_client, data);
data->valid = 0;
mutex_init(&data->update_lock);
/* Initialize the MAX1619 chip */