From: Jean Delvare Date: Fri, 4 Apr 2014 16:01:34 +0000 (+0200) Subject: hwmon: (pc87360) Avoid initializing the same field twice X-Git-Tag: v3.15-rc1~71^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b58157598f93089ccda90aabd98f27865b344da;p=pandora-kernel.git hwmon: (pc87360) Avoid initializing the same field twice data is kzalloc'd, so data->valid, data->innr and data->tempnr are already 0. Also rework the initialization path to only set name and data->fannr once. Signed-off-by: Jean Delvare Reviewed-by: Guenter Roeck --- Reading git-diff-tree failed