summaryrefslogtreecommitdiff
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorDenis Ciocca <denis.ciocca@st.com>2019-07-19 01:53:43 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-07-28 00:52:04 +0300
commita090965b882333500d8780e2c1762e17782f413f (patch)
tree2d13f70dd391d051ceaa2b6d5871b2830e5075bf /drivers/iio/accel
parentf53199c0bc62657f7bc253b5dfc9f3d81ed2ca28 (diff)
downloadlinux-a090965b882333500d8780e2c1762e17782f413f.tar.xz
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')
0 files changed, 0 insertions, 0 deletions