commit | 1c205ae18db53ff72985dd79f3baaf2dbaba6db7 | [log] [tgz] |
---|---|---|
author | Andi Kleen <andi@firstfloor.org> | Tue Jan 05 12:48:01 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sun Mar 07 17:04:47 2010 -0800 |
tree | ba2947326f34337b33c90391496b6e40089bc2ad | |
parent | 265d2e2e31c5f6dc1b20ae1653a17fdba706f79e [diff] |
sysfs: Add sysfs_add/remove_files utility functions Adding/Removing a whole array of attributes is very common. Add a standard utility function to do this with a simple function call, instead of requiring drivers to open code this. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>