diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-11-28 12:45:35 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-12-03 20:40:03 +0100 |
commit | e278558a1f4b91ed381d5b0168e2f6743a03ae20 (patch) | |
tree | 2b74cf10a5f316f81cb8caddc8ee372db76e0b75 /drivers/acpi/cm_sbs.c | |
parent | ACPI / scan: Create platform device for INT3515 ACPI nodes (diff) | |
download | linux-e278558a1f4b91ed381d5b0168e2f6743a03ae20.tar.xz linux-e278558a1f4b91ed381d5b0168e2f6743a03ae20.zip |
iio: inv_mpu6050: Use i2c_acpi_get_i2c_resource() helper
ACPI provides a generic helper to get I2C Serial Bus resources.
Use it instead of open coded variant.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/acpi/cm_sbs.c')
0 files changed, 0 insertions, 0 deletions