summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-03 18:59:19 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-06 18:27:33 +0300
commit1ef6ff6ef8d581ceb1512581f47be3f99f4f8571 (patch)
treebc54bac9761ba73ca66fe513de61c8ef615134e0 /include/linux
parentc53c7740bdbd976f868ddcfaf73f63797617ed99 (diff)
downloadlinux-1ef6ff6ef8d581ceb1512581f47be3f99f4f8571.tar.xz
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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220203155920.18586-2-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