diff options
| author | 2026-05-12 16:17:00 +0200 | |
|---|---|---|
| committer | 2026-05-20 13:05:28 +0300 | |
| commit | 4840f8bb3e9aad183e707950f24f829fd220eb07 (patch) | |
| tree | 4b33764c5b381d9b8caf9b5987317f10da8a6b24 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | platform/x86: toshiba_bluetooth: Check ACPI_COMPANION() against NULL (diff) | |
platform/x86: toshiba_haps: 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 toshiba_haps driver.
Fixes: 3a96c7915d93 ("platform/x86: toshiba_haps: Convert ACPI driver to a platform one")
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/2285136.Mh6RI2rZIc@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 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
