• Tejun Heo's avatar
    sysfs: clean up header files · 59f69015
    Tejun Heo authored
    sysfs is about to go through major overhaul making this a pretty good
    opportunity to clean up (out-of-tree changes and pending patches will
    need regeneration anyway).  Clean up headers.
    
    * Kill space between * and symbolname.
    
    * Move SYSFS_* type constants and flags into fs/sysfs/sysfs.h.
      They're internal to sysfs.
    
    * Reformat function prototypes and add argument symbol names.
    
    * Make dummy function definition order match that of function
      prototypes.
    
    * Add some comments.
    
    * Reorganize fs/sysfs/sysfs.h according to which file the declared
      variable or feature lives in.
    
    This patch does not introduce any behavior change.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Acked-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    59f69015
sysfs.h 3.96 KB