aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-10-24 22:04:51 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-28 20:04:11 +0000
commitd45b145d19b5ecf743031a76c77f62659c8b963a (patch)
tree02c45e5482d83d20ed81959dd7d37d9d64fa0759 /tools/perf/scripts/python
parentiio: magnetometer: bmc150: Drop dead code from the driver (diff)
downloadlinux-d45b145d19b5ecf743031a76c77f62659c8b963a.tar.gz
linux-d45b145d19b5ecf743031a76c77f62659c8b963a.zip
iio: adc: pac1934: Replace strange way of checking type of enumeration
When device is enumerated via ACPI the respective device node is of ACPI device type. Use that to check for ACPI enumeration, rather than calling for full match which is O(n) vs. O(1) for the regular check. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Marius Cristea <marius.cristea@microchip.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20241024191200.229894-3-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions