Re: [PATCH v1] platform/surface: surfacepro3_button: Check ACPI_COMPANION()

From: Ilpo Järvinen

Date: Tue May 19 2026 - 10:53:16 EST


On Tue, 12 May 2026 18:30:26 +0200, Rafael J. Wysocki wrote:

> Every platform driver can be forced to match a device that doesn't match
> its list of device IDs because of device_match_driver_override(), so
> platform drivers that rely on the existence of a device's ACPI companion
> object need to verify its presence.
>
> Accordingly, add a requisite ACPI_COMPANION() check against NULL to the
> surfacepro3_button driver.
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/surface: surfacepro3_button: Check ACPI_COMPANION()
commit: 5798b46271e229dab05e47537ac30b76f81728da

--
i.