From: Eric W. Biederman Date: Fri, 12 Feb 2010 12:35:32 +0000 (-0800) Subject: sysfs: Document sysfs_attr_init and sysfs_bin_attr_init X-Git-Tag: v2.6.34-rc1~1^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35960258ed388cdcebdb71df35fd5126978ca325;p=pandora-kernel.git sysfs: Document sysfs_attr_init and sysfs_bin_attr_init I have added a new requirement to the external sysfs interface that dynamically allocated sysfs attributes must call sysfs_attr_init if lockdep is enabled. For the time being callying sysfs_attr_init is only mandatory if lockdep is enabled, so we can live with a few unconverted instances until we find them all. As this is part of the public interface of sysfs it is a good idea to document these pseudo functions so someone inspeciting the code can find out what has happened. Signed-off-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed