[PATCH v1 0/8] Refine _UID references across kernel

Raag Jadav
2023-10-20T08:48:12Z

This series refines _UID references across kernel by:

- Extracting _UID matching functionality from acpi_dev_hid_uid_match()
helper and introducing it as a separate acpi_dev_uid_match() helper.

- Converting manual _UID references to use standard ACPI helpers.

Raag Jadav (8):
ACPI: utils: Introduce acpi_dev_uid_match() for matching _UID
pinctrl: intel: use acpi_dev_uid_match() for matching _UID
ACPI: sysfs: use acpi_device_uid() for fetching _UID
ACPI: utils: use acpi_dev_uid_match() for matching _UID
ACPI: x86: use acpi_dev_uid_match() for matching _UID
perf: qcom: use acpi_device_uid() for fetching _UID
hwmon: nct6775: use acpi_dev_hid_uid_match() for matching _HID and
_UID
perf: arm_cspmu: use acpi_dev_hid_uid_match() for matching _HID and
_UID

drivers/acpi/device_sysfs.c | 6 ++--
drivers/acpi/utils.c | 43 +++++++++++++++++++++------
drivers/acpi/x86/utils.c | 3 +-
drivers/hwmon/nct6775-platform.c | 4 +--
drivers/perf/arm_cspmu/arm_cspmu.c | 8 ++---
drivers/perf/qcom_l3_pmu.c | 4 +--
drivers/pinctrl/intel/pinctrl-intel.c | 2 +-
include/acpi/acpi_bus.h | 1 +
include/linux/acpi.h | 5 ++++
9 files changed, 51 insertions(+), 25 deletions(-)

base-commit: 9bc2fb9a7e41542a193658deff3df572fa24cb68
--
2.17.1