From: Ilya Shchepetkov Date: Tue, 21 Aug 2012 23:16:06 +0000 (-0700) Subject: drivers/rtc/rtc-pcf2123.c: initialize dynamic sysfs attributes X-Git-Tag: v3.6-rc3~8^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed12f12825c6c0451d703bfe918a7fc190e2738;p=pandora-kernel.git drivers/rtc/rtc-pcf2123.c: initialize dynamic sysfs attributes Dynamically allocated sysfs attributes must be initialized using sysfs_attr_init(), otherwise lockdep complains: BUG: key
not in .data! Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Ilya Shchepetkov Cc: Chris Verges Cc: Christian Pellegrin Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed