]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / property: Expose data-only subnodes via sysfs
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Aug 2015 02:37:19 +0000 (04:37 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Sep 2015 23:47:34 +0000 (01:47 +0200)
commita65661c9b77b1acb9b10276c2b5fe8c7e60a0515
tree80442913eae7918339e5f2ee2629317795b5e4b7
parent617f3acd2e0cdca2157694d67dbc86f25d0797a0
ACPI / property: Expose data-only subnodes via sysfs

Add infrastructure needed to expose data-only subnodes of ACPI
device objects introduced previously via sysfs.

Each data-only subnode is represented as a sysfs directory under
the directory corresponding to its parent object (a device or a
data-only subnode).  Each of them has a "path" attribute (containing
the full ACPI namespace path to the object the subnode data come from)
at this time.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/device_sysfs.c
drivers/acpi/property.c
include/acpi/acpi_bus.h