summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-12 19:35:20 +0300
committerTzung-Bi Shih <tzungbi@kernel.org>2026-05-13 05:19:46 +0300
commit8a4a217f617b1ac2f8c095f33efd67d947ddb2cf (patch)
tree53c4cf06c90d7bcaca90aa1d527a6dbd216fe33e /include/linux
parent422072b8bd4fea650d549929861b0cba55f33429 (diff)
downloadlinux-8a4a217f617b1ac2f8c095f33efd67d947ddb2cf.tar.xz
platform/chrome: chromeos_privacy_screen: Check ACPI_COMPANION()
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 chromeos_privacy_screen driver. Fixes: d3c2872ae323 ("platform/chrome: Convert ChromeOS privacy-screen driver to platform") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/3357444.5fSG56mABF@rafael.j.wysocki Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions