From: Hans de Goede Date: Wed, 9 Dec 2009 19:36:00 +0000 (+0100) Subject: hwmon: (f71882fg) Cleanup sysfs attr creation 2/2 X-Git-Tag: v2.6.33-rc1~335^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69b039922673dfabe0b5774f2e313f2a2297d01;p=pandora-kernel.git hwmon: (f71882fg) Cleanup sysfs attr creation 2/2 This patch merges the f71882fg_auto_pwm_attr array into the fxxxx_fan_attr resp. fxxxx_auto_pwm_attr array, as the f71882fg_auto_pwm_attr array was merely extending these 2 with entries for a 4th fan, it also makes these 2 arrays 2 dimensional so that the rest of the code can choose to add attr for 3 or 4 fans without needing to know the nr of attr per fan. Signed-off-by: Hans de Goede Signed-off-by: Jean Delvare --- Reading git-diff-tree failed