commit | 0e6c7870856c7fb4ee054d28ac253b2d3d0c7e36 | [log] [tgz] |
---|---|---|
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | Sun Jun 20 09:22:31 2010 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Sun Jun 20 09:22:31 2010 +0200 |
tree | 2714660805f9ff6e7781c354ba3c4c6ee9cdb757 | |
parent | eefc2d9e3d4f8820f2c128a0e44a23de28b1ed64 [diff] |
hwmon: (i5k_amb) Fix sysfs attribute for lockdep i5k_amb.ko uses dynamically allocated memory (by kmalloc) for attributes passed to sysfs. So, sysfs_attr_init() should be called for working happy with lockdep. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: stable@kernel.org [2.6.34 only]