From: Guenter Roeck Date: Tue, 24 May 2011 19:34:55 +0000 (-0700) Subject: hwmon: (s3c) Initialize sysfs attributes X-Git-Tag: v3.0-rc4~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e698db0939b04602ded2a2196ff69c92b49378;p=pandora-kernel.git hwmon: (s3c) 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