diff options
author | Giuseppe Barba <giuseppe.barba@st.com> | 2015-07-21 10:35:42 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-23 20:43:10 +0100 |
commit | bb602f8c61e289389e7c2af1b577303a841f6d34 (patch) | |
tree | 46f8f8e4006d5f15452319b47cce62f17bd5a0f0 /drivers/iio/magnetometer/st_magn_buffer.c | |
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>
Diffstat (limited to 'drivers/iio/magnetometer/st_magn_buffer.c')
0 files changed, 0 insertions, 0 deletions