summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/st_pressure.h
diff options
context:
space:
mode:
authorDenis Ciocca <denis.ciocca@st.com>2019-07-19 00:53:47 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-07-27 23:52:05 +0200
commit539b25fa700acf8985ea1a273fcccef5e52d52e4 (patch)
tree8c4044e63d6c399347a1e0b8a4bc2f249ee37838 /drivers/iio/pressure/st_pressure.h
parentiio:magn: introduce st_magn_get_settings() function (diff)
downloadlinux-539b25fa700acf8985ea1a273fcccef5e52d52e4.tar.xz
linux-539b25fa700acf8985ea1a273fcccef5e52d52e4.zip
iio:pressure: introduce st_press_get_settings() function
The function is introduced to retrieve press 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>
Diffstat (limited to 'drivers/iio/pressure/st_pressure.h')
-rw-r--r--drivers/iio/pressure/st_pressure.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h
index 6a720cfb5686..c2e47a6c3118 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -41,6 +41,7 @@ static const struct st_sensors_platform_data default_press_pdata = {
.drdy_int_pin = 1,
};
+const struct st_sensor_settings *st_press_get_settings(const char *name);
int st_press_common_probe(struct iio_dev *indio_dev);
void st_press_common_remove(struct iio_dev *indio_dev);