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)
committerJonathan Cameron <jic23@kernel.org>
Sat, 25 Oct 2014 09:56:04 +0000 (10:56 +0100)
commita9bef750135cc261bfceff6840a30a3f357df8da
treea6fa9e9c0b6a70e7a1d50e25ddc831bc101919ad
parented56330df215b014c45940cceb97590d283b865f
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: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Documentation/iio_event_monitor.c