]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (ibmaem) Initialize sysfs attributes
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 24 May 2011 19:33:26 +0000 (12:33 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 18 Jun 2011 06:22:26 +0000 (23:22 -0700)
commit3cdb2052a6e365ad56202874e6a8a05a2bb336fc
tree589d6fcc39a8a9a6b64e51e3a9bd631c3f68eb59
parent9a2d55be1168b56a5c65321dcce64c97798eaec7
hwmon: (ibmaem) 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+
drivers/hwmon/ibmaem.c