commit | b1e698db0939b04602ded2a2196ff69c92b49378 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Tue May 24 12:34:55 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Fri Jun 17 23:22:27 2011 -0700 |
tree | 41c5ebef11be8f2de95df65bbc56155e17be8c04 | |
parent | fb794e0f7153918c33f2300986d995524ab711cf [diff] |
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 <guenter.roeck@ericsson.com> Acked-by: Jean Delvare <khali@linux-fr.org> Cc: stable@kernel.org # 2.6.34+