linux_dsm_epyc7002/drivers/iio/gyro
Rodrigo Siqueira 67464a54e5 iio: Replace occurrences of magic number 0 by IIO_CHAN_INFO_RAW
Usually, functions responsible for reading raw data typically relies on
values from iio_chan_info_enum to correctly identify the type of data to
be read. There is a set of a device driver that uses the magic number 0
instead of IIO_CHAN_INFO_RAW. This patch improves the readability by
replaces the magic number 0 for the appropriate IIO_CHAN_INFO_RAW in six
devices driver in the IIO subsystem.

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-03-07 20:14:36 +00:00
..
adis16080.c
adis16130.c
adis16136.c gyro:adis16136: fix debugfs_simple_attr.cocci warnings 2018-01-08 16:03:44 +01:00
adis16260.c
adxrs450.c
bmg160_core.c
bmg160_i2c.c
bmg160_spi.c
bmg160.h
hid-sensor-gyro-3d.c iio: Replace occurrences of magic number 0 by IIO_CHAN_INFO_RAW 2018-03-07 20:14:36 +00:00
itg3200_buffer.c
itg3200_core.c
Kconfig
Makefile
mpu3050-core.c
mpu3050-i2c.c
mpu3050.h
ssp_gyro_sensor.c
st_gyro_buffer.c
st_gyro_core.c
st_gyro_i2c.c
st_gyro_spi.c
st_gyro.h