From: Henrik Rydberg Date: Sat, 22 Jan 2011 19:55:39 +0000 (+0100) Subject: hwmon: (applesmc) Properly initialize lockdep attributes X-Git-Tag: v2.6.38-rc3~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d1f8a40ddab65a5cedb69b369ee4c0c6e4acf6b;p=pandora-kernel.git hwmon: (applesmc) Properly initialize lockdep attributes The switch to dynamically allocated sysfs attributes left the internal lockdep members uninitialized, causing a formal bug. This patch adds sysfs_attr_init() to the node creation function, remedying the problem. Reported-and-tested-by: Stefan Richter Signed-off-by: Henrik Rydberg Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed