]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ibmpex) Initialize sysfs attributes
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 24 May 2011 19:34:12 +0000 (12:34 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 18 Jun 2011 06:22:27 +0000 (23:22 -0700)
commitba70d1ede8f1a10c9f1fdfa86271f1083f4610b5
tree7d2c0654aa8a108aebf4aba5da86ba5ee6dfbcd5
parent5bfc7a04f6ac14b8ae64c35abac5927204e75bf9
hwmon: (ibmpex) 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/ibmpex.c