diff options
| author | 2026-05-12 17:12:40 +0200 | |
|---|---|---|
| committer | 2026-05-19 16:47:45 +0300 | |
| commit | abfbe5ee8ae89f1f5449790423d5dd3e423545bd (patch) | |
| tree | b574b297f34355f31c3f4512334e5af4959880bc /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: adv_swbutton: Check ACPI_HANDLE() against NULL (diff) | |
platform/x86: hp_accel: Check ACPI_COMPANION() against NULL
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
platform/x86 hp_accel driver.
Fixes: 8ebcb6c94c71 ("platform/x86: hp_accel: Convert to be a platform driver")
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/2425918.ElGaqSPkdT@rafael.j.wysocki
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
