diff options
author | Denis Ciocca <denis.ciocca@st.com> | 2019-07-18 15:53:43 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-07-27 22:52:04 +0100 |
commit | a090965b882333500d8780e2c1762e17782f413f (patch) | |
tree | 2d13f70dd391d051ceaa2b6d5871b2830e5075bf /drivers/iio/accel/st_accel.h | |
parent | f53199c0bc62657f7bc253b5dfc9f3d81ed2ca28 (diff) |
iio:common:st_sensors: add st_sensors_get_settings_index() helper function
Extract from st_sensors_check_device_support() function the code that
is used to get the specific settings for a device. This will be used
as generic extractor by each ST driver.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/st_accel.h')
0 files changed, 0 insertions, 0 deletions