aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-10-24 22:04:54 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-28 20:04:11 +0000
commitdc60de4eb0a431bde94e5abe55be6f646cdb435d (patch)
treed1bea765f18e8c59b78392a2a55d9fc9cd347f17 /tools/perf/scripts/python
parentiio: acpi: Improve iio_read_acpi_mount_matrix() (diff)
downloadlinux-dc60de4eb0a431bde94e5abe55be6f646cdb435d.tar.gz
linux-dc60de4eb0a431bde94e5abe55be6f646cdb435d.zip
iio: acpi: Add iio_get_acpi_device_name_and_data() helper function
A few drivers duplicate the code to retrieve ACPI device instance name. Some of them want an associated driver data as well. In order of deduplication introduce the common helper functions. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20241024191200.229894-6-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