summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-12 19:28:26 +0300
committerJonathan Cameron <jic23@kernel.org>2026-05-16 21:25:33 +0300
commitff29241030eb6f4505d903d87c29f51c1866a95d (patch)
tree98f14d3c106144eb12a1a22aed6ec15d903b443e /scripts/Makefile.thinlto
parent70247658d0e783c93b48fcbc3b81d99e992ff478 (diff)
downloadlinux-ff29241030eb6f4505d903d87c29f51c1866a95d.tar.xz
iio: light: acpi-als: 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 acpi-als IIO driver. Fixes: d4243cb08a27 ("iio: light: acpi-als: 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> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions