commit | 6cf0a91ebe11cee1df871619af4eb58c9af32666 | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Fri Apr 04 18:01:34 2014 +0200 |
committer | Jean Delvare <jdelvare@suse.de> | Fri Apr 04 18:01:34 2014 +0200 |
tree | ace57336a6a44dd606466c9ae79b7998c1a2f2ec | |
parent | 5b58157598f93089ccda90aabd98f27865b344da [diff] |
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>