linux-sg2042/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 iio: magnetometer: ak8974: support AMI306 variant 2017-08-20 11:18:33 +01:00
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 iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
ak8975.c iio: magnetometer: ak8975: Add another ACPI ID 2017-12-02 10:40:02 +00:00
bmc150_magn.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
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 iio: magnetometer: bmc150_magn_i2c: Add OF device ID table 2017-03-19 10:50:10 +00:00
bmc150_magn_spi.c iio: magn: Add support for BMM150 magnetometer 2016-05-21 17:37:21 +01:00
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 iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843_core.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
hmc5843_i2c.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843_spi.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
mag3110.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
mmc35240.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
st_magn.h iio: magnetometer: add support to LIS2MDL 2017-08-17 15:51:39 +01:00
st_magn_buffer.c iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
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 iio: magnetometer: add support to LIS2MDL 2017-08-17 15:51:39 +01:00
st_magn_spi.c iio: magnetometer: add support to LIS2MDL 2017-08-17 15:51:39 +01:00