iio:accel: device settings are set immediately during probe
authorDenis Ciocca <denis.ciocca@st.com>
Thu, 18 Jul 2019 22:53:48 +0000 (15:53 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:52:05 +0000 (22:52 +0100)
commitfeba6b18c926ad59cb7ea97e6023a38c6bf74310
tree8250ff00715c897406a7837798da212b54dff28b
parent539b25fa700acf8985ea1a273fcccef5e52d52e4
iio:accel: device settings are set immediately during probe

This patch set accel settings right after probe start. This is
done in preparation of regmap that needs different configuration
based on multiread bit value.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel_i2c.c
drivers/iio/accel/st_accel_spi.c