diff options
| author | Andy Shevchenko <[email protected]> | 2022-02-03 15:59:19 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-02-06 15:27:33 +0000 |
| commit | 1ef6ff6ef8d581ceb1512581f47be3f99f4f8571 (patch) | |
| tree | bc54bac9761ba73ca66fe513de61c8ef615134e0 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | iio: imu: inv_mpu6050: Drop wrong use of ACPI_PTR() (diff) | |
| download | kernel-1ef6ff6ef8d581ceb1512581f47be3f99f4f8571.tar.gz kernel-1ef6ff6ef8d581ceb1512581f47be3f99f4f8571.zip | |
iio: imu: inv_mpu6050: Check ACPI companion directly
Instead of checking for ACPI handle followed by extracting a companion
device, do the latter first and use it for checks.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
