]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (ibmaem) Initialize sysfs attributes
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 24 May 2011 19:33:26 +0000 (12:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Jul 2011 06:14:57 +0000 (23:14 -0700)
commit4ee267bbbd58bdcf9dc84ebc01a34ff68b5de3ed
tree152b7bd878df8ecf3c15b415f532ec50911b88b1
parent38ec4b47d1f474f6da8b5249fd631312b1bf61a9
hwmon: (ibmaem) Initialize sysfs attributes

commit 3cdb2052a6e365ad56202874e6a8a05a2bb336fc upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/ibmaem.c