iio:accel: introduce st_accel_get_settings() function
authorDenis Ciocca <denis.ciocca@st.com>
Thu, 18 Jul 2019 22:53:44 +0000 (15:53 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:52:04 +0000 (22:52 +0100)
commit823a7adac4f1bde2828d18f3bd8fa75285d00f4d
tree25e611470e4133291b8b3e61444016902e36f2e3
parenta090965b882333500d8780e2c1762e17782f413f
iio:accel: introduce st_accel_get_settings() function

The function is introduced to retrieve accel device settings. It will be
used by probe in order to configure regmap.

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