ACPI: Add user space interface for identification objects
authorLv Zheng <lv.zheng@intel.com>
Tue, 30 Oct 2012 13:43:26 +0000 (14:43 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:16:03 +0000 (00:16 +0100)
commit923d4a45a9d2e350c27b7b7e1c724c19eb921c92
treec92927e1b5af36afacfe007594db60c76ddc10f4
parentccf78040265bfce2aac5766e1ddf4fc3dde36899
ACPI: Add user space interface for identification objects

ACPI devices are glued with physical devices through _ADR object, ACPI
enumerated devices are identified with _UID object.  Currently we can
observe _HID/_CID through sysfs interfaces (hid/modalias), but there's
no way for us to check _ADR/_UID from user space.  This patch closes
this gap for ACPI developers and users.

[rjw: Modified the subject and changelog slightly.]
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c