iio: st_pressure: Support i2c probe using acpi
authorShrirang Bagul <shrirang.bagul@canonical.com>
Thu, 24 Nov 2016 05:33:45 +0000 (13:33 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Dec 2016 08:56:27 +0000 (08:56 +0000)
commit9d317724cfeb9b64acf57028183e307bea39e4e6
treed67a5d4e65e43e594278775ec8d6064c4569dd20
parent89a2a93f3bf1e0d3168d454fe7fa207be981cb83
iio: st_pressure: Support i2c probe using acpi

Compatible strings are not available on ACPI based systems. This patch adds
support to use DSDT information read from platform BIOS instead for probing
st pressure sensors.

Signed-off-by: Shrirang Bagul <shrirang.bagul@canonical.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure.h
drivers/iio/pressure/st_pressure_i2c.c