diff options
| author | Hans de Goede <[email protected]> | 2024-04-25 14:57:52 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-04-29 20:53:25 +0100 |
| commit | e074cc3080d507b3680160248bb5b450d7009efb (patch) | |
| tree | 2d6acc3926972f15ac1fb02ffa240f7c5a73789a /tools/perf/scripts/python/bin | |
| parent | 02eae0bb9538dc7dcb5a6bc2c3066bd6ca682969 (diff) | |
iio: accel: kxcjk-1013: Use new iio_read_acpi_mount_matrix() helper
Replace the duplicate ACPI "ROTM" data parsing code with the new
shared iio_read_acpi_mount_matrix() helper.
This also removes the limiting of the "ROTM" mount matrix to only ACPI
devices with an ACPI HID (Hardware-ID) of "KIOX000A". If kxcjk-1013 ACPI
devices with another HID have a ROTM method that should still be parsed
and if the method is not there then iio_read_acpi_mount_matrix() will
fail silently.
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions