aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRodrigo Siqueira <[email protected]>2018-02-27 11:47:55 -0300
committerJonathan Cameron <[email protected]>2018-03-03 15:23:13 +0000
commit5def839c481712f2f0a3a34755ee6b27279e7cbe (patch)
treefdd23c62211a51a2b40665a3fdc85f699389d936 /tools/perf/scripts/python
parent5556dfe54be421b1b2897513adf61d9b6d3ab271 (diff)
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions