[PATCH 0/2] iio: accel: bmc150: Check for a second i2c resource
From: Jeremy Cline
Date: Wed Nov 29 2017 - 17:32:00 EST
Hey folks,
Some BOSC0200 ACPI devices, like the one in the Yoga 11e, have two i2c
accelerometers listed under a single ACPI device. This checks to see if
there is an ACPI companion and if so handles a second i2c client.
Jeremy Cline (2):
iio: accel: bmc150: Move struct definitions into the header
iio: accel: bmc150: Check for a second ACPI device for BOSC0200
drivers/iio/accel/bmc150-accel-core.c | 43 -------------------------------
drivers/iio/accel/bmc150-accel-i2c.c | 33 +++++++++++++++++++++++-
drivers/iio/accel/bmc150-accel.h | 48 +++++++++++++++++++++++++++++++++++
3 files changed, 80 insertions(+), 44 deletions(-)
--
2.14.3