commit | bb602f8c61e289389e7c2af1b577303a841f6d34 | [log] [tgz] |
---|---|---|
author | Giuseppe Barba <giuseppe.barba@st.com> | Tue Jul 21 10:35:42 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu Jul 23 20:43:10 2015 +0100 |
tree | 46f8f8e4006d5f15452319b47cce62f17bd5a0f0 | |
parent | bc27381edbeb654d819b7e1464091c456a0d3e64 [diff] |
iio: st-sensors: add support for single full scale device Some sensors could have only one full scale value. This means that the sensor hasn't a full scale register. This commit add a check on the configured full scale address to support such kind of sensors. Signed-off-by: Giuseppe Barba <giuseppe.barba@st.com> Acked-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>