From: Mark Brown Date: Thu, 16 Aug 2012 19:03:21 +0000 (+0100) Subject: extcon: Ensure dynamically allocated sysfs attributes are initialised X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~76^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9baf3220afe870b2526397919857b271c3affda5;p=pandora-kernel.git extcon: Ensure dynamically allocated sysfs attributes are initialised The operation of lockdep requires that all dynamically allocated sysfs nodes are initialised using sysfs_attr_init() otherwise lots of warnings are generated. Ensure that all the dynamically allocated attributes that extcon generates have this done. Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed