iio: magnetometer: st_magn_spi: add OF capability to st_magn_spi
Add device tree support for LIS3MDL and LSM303AGR magnetometer sensors Signed-off-by: NLorenzo Bianconi <lorenzo.bianconi@st.com> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录