From: Eric W. Biederman Date: Thu, 11 Feb 2010 23:23:05 +0000 (-0800) Subject: sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributes X-Git-Tag: v2.6.34-rc1~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07e4156a2ee6359d31a44946d7ee7f85dbf6bca;p=pandora-kernel.git sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributes These are the non-static sysfs attributes that exist on my test machine. Fix them to use sysfs_attr_init or sysfs_bin_attr_init as appropriate. It simply requires making a sysfs attribute present to see this. So this is a little bit tedious but otherwise not too bad. Signed-off-by: Eric W. Biederman Acked-by: WANG Cong Cc: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed