commit | a090965b882333500d8780e2c1762e17782f413f | [log] [tgz] |
---|---|---|
author | Denis Ciocca <denis.ciocca@st.com> | Thu Jul 18 15:53:43 2019 -0700 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Jul 27 22:52:04 2019 +0100 |
tree | 2d13f70dd391d051ceaa2b6d5871b2830e5075bf | |
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>