hwmon: Avoid initializing the same field twice
authorJean Delvare <[email protected]>
Fri, 4 Apr 2014 16:01:34 +0000 (18:01 +0200)
committerJean Delvare <[email protected]>
Fri, 4 Apr 2014 16:01:34 +0000 (18:01 +0200)
commit6cf0a91ebe11cee1df871619af4eb58c9af32666
treeace57336a6a44dd606466c9ae79b7998c1a2f2ec
parent5b58157598f93089ccda90aabd98f27865b344da
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
drivers/hwmon/asc7621.c
drivers/hwmon/atxp1.c
drivers/hwmon/lm77.c
drivers/hwmon/lm83.c
drivers/hwmon/lm87.c
drivers/hwmon/lm92.c
drivers/hwmon/lm93.c
drivers/hwmon/max1619.c
drivers/hwmon/w83792d.c
drivers/hwmon/w83l785ts.c