diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-12-03 11:28:51 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-12-13 11:44:48 +0100 |
commit | 71102bc7964342f0aaf1faf7aa384678b1207848 (patch) | |
tree | 29a0b3d0c479b82aedffeb19e10d847392de64ab /tools/perf/scripts/python/check-perf-trace.py | |
parent | a2f9fbc247eea0ad1b0b59bc29bec144c5ead03c (diff) |
platform/x86: int3472: Add get_sensor_adev_and_name() helper
The discrete.c code is not the only code which needs to lookup the
acpi_device and device-name for the sensor for which the INT3472
ACPI-device is a GPIO/clk/regulator provider.
The tps68470.c code also needs this functionality, so factor this
out into a new get_sensor_adev_and_name() helper.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211203102857.44539-9-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions