Skip to content
Commit e278558a authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent a3dd034a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment