]> git.karo-electronics.de Git - linux-beck.git/commit
staging: iio: iio_event_monitor: Add support for missing IIO modifiers
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Wed, 22 Oct 2014 13:50:17 +0000 (16:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 03:09:11 +0000 (11:09 +0800)
commit0a6e2170dfcd2b17ae32ad91993edf2b77014137
tree307268762bbbe6b55d69a6c54fc1e764b10baa32
parent36beff6e20740e055c11ec87d9f41ea54a842db5
staging: iio: iio_event_monitor: Add support for missing IIO modifiers

This patch adds the missing IIO modifiers in event_is_known function
and iio_modifier_names vector.

Additionally, it removes duplicate name entries of IIO_MOD_LIGHT_BOTH
and IIO_MOD_LIGHT_IR in iio_modifier_names.

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/Documentation/iio_event_monitor.c