iio:gyro: introduce st_gyro_get_settings() function
authorDenis Ciocca <denis.ciocca@st.com>
Thu, 18 Jul 2019 22:53:45 +0000 (15:53 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:52:05 +0000 (22:52 +0100)
commit2acca26bba3a7487e941e234e8ee33a998eecf53
treece033ea50f9ce30b7f246d292dadf560a1eeb2c3
parent823a7adac4f1bde2828d18f3bd8fa75285d00f4d
iio:gyro: introduce st_gyro_get_settings() function

The function is introduced to retrieve gyro 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/gyro/st_gyro.h
drivers/iio/gyro/st_gyro_core.c