summaryrefslogtreecommitdiff
path: root/drivers/acpi/device_sysfs.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-15ACPI / property: Expose data-only subnodes via sysfsRafael J. Wysocki1-12/+108
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>
2015-07-17ACPI / scan: Move sysfs-related device code to a separate fileRafael J. Wysocki1-0/+521
To reduce the size of scan.c and improve the readability of it, move all code related to device sysfs, modalias creation etc. to a new file called device_sysfs.c. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>