diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 21:51:13 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 21:51:13 +0100 |
commit | 0bb8f3d6ae621945e6fa2102aa894f72b76a023e (patch) | |
tree | 3c81ce1a8011ed1d9c381ee3c5e2f97fe0844fe6 /firmware/yamaha | |
parent | b1c0f99bfb89cd9b42e3119ab822a8102fa87909 (diff) |
sysfs: Functions for adding/removing symlinks to/from attribute groups
The most convenient way to expose ACPI power resources lists of a
device is to put symbolic links to sysfs directories representing
those resources into special attribute groups in the device's sysfs
directory. For this purpose, it is necessary to be able to add
symbolic links to attribute groups.
For this reason, add sysfs helper functions for adding/removing
symbolic links to/from attribute groups, sysfs_add_link_to_group()
and sysfs_remove_link_from_group(), respectively.
This change set includes a build fix from David Rientjes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions