diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-05-11 21:56:14 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-05-12 11:33:08 -0700 |
| commit | f06035ab324e52a845079c2e5f2380fa3cebde9b (patch) | |
| tree | 71beaa36baa51d964388482865df5f8dbac6158a /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 793d2a057f7e7bc647c5401413f7bf7d4f08b969 (diff) | |
| download | linux-f06035ab324e52a845079c2e5f2380fa3cebde9b.tar.gz linux-f06035ab324e52a845079c2e5f2380fa3cebde9b.zip | |
hwmon: (asus_atk0110) 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_HANDLE() check against NULL to the
asus_atk0110 hwmon driver.
Fixes: ee1752590733 ("hwmon: (asus_atk0110) Convert ACPI driver to a platform one")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/2261594.irdbgypaU6@rafael.j.wysocki
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
