]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: sysfs: Add device cid attribute for exposing _CID lists
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 29 Dec 2025 13:29:59 +0000 (14:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 29 Dec 2025 20:10:29 +0000 (21:10 +0100)
commit2aa1e462508d73e4fa2de26a3d50c867bb784830
tree7a238371b78bf885bb11620725bb93d04f5f20ca
parentf8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da
ACPI: sysfs: Add device cid attribute for exposing _CID lists

Add a new sysfs attribute called "cid" under struct acpi_device for
exposing the list of compatible device IDs returned by the device's
_CID object, if present.

The new attribute will be present only if the _CID object is present.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/5957407.DvuYhMxLoT@rafael.j.wysocki
drivers/acpi/device_sysfs.c