summaryrefslogtreecommitdiffstats
path: root/include/linux/stmp_device.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-25 21:51:13 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-25 21:51:13 +0100
commit0bb8f3d6ae621945e6fa2102aa894f72b76a023e (patch)
tree3c81ce1a8011ed1d9c381ee3c5e2f97fe0844fe6 /include/linux/stmp_device.h
parentb1c0f99bfb89cd9b42e3119ab822a8102fa87909 (diff)
downloadblackbird-op-linux-0bb8f3d6ae621945e6fa2102aa894f72b76a023e.tar.gz
blackbird-op-linux-0bb8f3d6ae621945e6fa2102aa894f72b76a023e.zip
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 'include/linux/stmp_device.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud