From: Guenter Roeck Date: Tue, 24 May 2011 19:34:12 +0000 (-0700) Subject: hwmon: (ibmpex) Initialize sysfs attributes X-Git-Tag: v3.0-rc4~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb794e0f7153918c33f2300986d995524ab711cf;p=pandora-kernel.git hwmon: (ibmpex) Initialize sysfs attributes Initialize dynamically allocated sysfs attributes before device_create_file() call to suppress lockdep_init_map() warning if lockdep debugging is enabled. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Cc: stable@kernel.org # 2.6.34+ --- Reading git-diff-tree failed