linux/drivers/iio/magnetometer
Rodrigo Siqueira 5def839c48 iio:magnetometer: Replace magic number 0 by IIO_CHAN_INFO_RAW
The function magn_3d_read_raw has a switch statement handling multiple
cases per channel. The first case statement uses the magic number 0,
which means IIO_CHAN_INFO_RAW. Additionally, the iio_chan_spec for
magn_3d_channels is configured to be IIO_CHAN_INFO_RAW. Therefore, this
patch replaces the magic number 0 for the appropriate IIO_CHAN_INFO_RAW.

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-03-03 15:23:13 +00:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ak8974.c
ak8975.c iio: magnetometer: ak8975: Add another ACPI ID 2017-12-02 10:40:02 +00:00
bmc150_magn.c
bmc150_magn.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bmc150_magn_i2c.c
bmc150_magn_spi.c
hid-sensor-magn-3d.c iio:magnetometer: Replace magic number 0 by IIO_CHAN_INFO_RAW 2018-03-03 15:23:13 +00:00
hmc5843.h
hmc5843_core.c
hmc5843_i2c.c
hmc5843_spi.c
mag3110.c
mmc35240.c
st_magn.h
st_magn_buffer.c
st_magn_core.c iio: magnetometer: st_magn: add SPI-3wire support to LIS3MDL 2017-10-10 20:36:33 +01:00
st_magn_i2c.c
st_magn_spi.c