diff options
| author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-10-24 22:04:53 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-28 20:04:11 +0000 |
| commit | d411e5b5aada96d18111e93e9341e944e61ff997 (patch) | |
| tree | 2f4387e21689f6897efbd3f2da2b043aab18b24f /include/linux | |
| parent | 77005bc23dfca72e2466486e3b9c25a7e9136a22 (diff) | |
iio: acpi: Improve iio_read_acpi_mount_matrix()
By using ACPI_HANDLE() the handler argument can be retrieved directly.
Replace ACPI_COMPANION() + dereference with ACPI_HANDLE().
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20241024191200.229894-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
