commit | aac1f7f95f115d5a5329be05b80022e72df7d080 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <[email protected]> | Sun May 12 17:55:10 2019 +0200 |
committer | Ingo Molnar <[email protected]> | Mon Jun 03 11:58:20 2019 +0200 |
tree | 85a5b4d0b54b418b8a1ba7c1f7aa769508c61a1f | |
parent | 6e86d3db5f8fb69eea76cc496c3c3da19c855aa9 [diff] |
sysfs: Add sysfs_update_groups function Adding sysfs_update_groups function to update multiple groups. sysfs_update_groups - given a directory kobject, create a bunch of attribute groups @kobj: The kobject to update the group on @groups: The attribute groups to update, NULL terminated This function update a bunch of attribute groups. If an error occurs when updating a group, all previously updated groups will be removed together with already existing (not updated) attributes. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>