Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging:iio: Add an iio channel type string to support proximity sensors.

Add "proximity" to the iio_chan_type_name_spec_shared string list to
support proximity sensors.
Now this list fully matches the declared iio_chan_type enums.

Signed-off-by: Bryan Freed <bfreed@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Bryan Freed and committed by
Greg Kroah-Hartman
f09f2c81 9bff02f8

+1
+1
drivers/staging/iio/industrialio-core.c
··· 54 54 [IIO_MAGN] = "magn", 55 55 [IIO_LIGHT] = "illuminance", 56 56 [IIO_INTENSITY] = "intensity", 57 + [IIO_PROXIMITY] = "proximity", 57 58 [IIO_TEMP] = "temp", 58 59 [IIO_INCLI] = "incli", 59 60 [IIO_ROT] = "rot",