[GIT PULL] More ACPI updates for v6.5-rc1

From: Rafael J. Wysocki
Date: Thu Jul 06 2023 - 13:49:10 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.5-rc1-3

with top-most commit 2e178ee13b02d95c7380f6a21149de535ccdfc7f

Merge branches 'acpi-bus' and 'acpi-scan'

on top of commit b5539eb5ee70257520e40bb636a295217c329a50

ACPI: EC: Fix acpi_ec_dispatch_gpe()

to receive additional ACPI updates for 6.5-rc1.

These fix a couple of compiler warnings, refine an ACPI device
enumeration quirk to address a driver regression and clean up
code.

Specifics:

- Make acpi_companion_match() return a const pointer and update its
callers accordingly (Andy Shevchenko).

- Move the extern declaration of the acpi_root variable to a header
file so as to address a compiler warning (Andy Shevchenko).

- Address compiler warnings in the ACPI device enumeration code by
adding a missing header file inclusion to it (Ben Dooks).

- Refine the SMB0001 quirk in the ACPI device enumeration code so as to
address an i2c-scmi driver regression (Andy Shevchenko).

- Clean up two pieces of the ACPI device enumeration code (Andy
Shevchenko).

Thanks!


---------------

Andy Shevchenko (6):
ACPI: scan: Move acpi_root to internal header
ACPI: bus: Constify acpi_companion_match() returned value
ACPI: bus: Introduce acpi_match_acpi_device() helper
ACPI: platform: Ignore SMB0001 only when it has resources
ACPI: platform: Move SMB0001 HID to the header and reuse
ACPI: scan: Use the acpi_match_acpi_device() helper

Ben Dooks (1):
ACPI: scan: fix undeclared variable warnings by including sleep.h

---------------

drivers/acpi/acpi_platform.c | 31 ++++++++++++++++++++++++++++---
drivers/acpi/bus.c | 31 ++++++++++++++++++++++++-------
drivers/acpi/device_sysfs.c | 2 +-
drivers/acpi/internal.h | 4 +++-
drivers/acpi/scan.c | 24 +++++++++++++-----------
drivers/i2c/busses/i2c-scmi.c | 3 ---
include/acpi/acpi_drivers.h | 2 ++
include/linux/acpi.h | 9 +++++++++
8 files changed, 80 insertions(+), 26 deletions(-)