drivers/thermal/thermal_sys.c: fix 'key f70f4b50 not in .data' in thermal_sys
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Tue, 6 Apr 2010 21:34:51 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Apr 2010 15:38:03 +0000 (08:38 -0700)
commit975f8c5653acba461229e671202113da69b87be1
tree8355328258d13e7e0182cc24a241b42b3f1e528c
parent829f46af39d50a43e260adaa9e7bbdff74a9f696
drivers/thermal/thermal_sys.c: fix 'key f70f4b50 not in .data' in thermal_sys

Initialize sysfs attributes before device_create_file call.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=15548

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Greg KH <gregkh@suse.de>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/thermal/thermal_sys.c