staging: iio: remove duplicate case labels
authorDaniel Baluta <daniel.baluta@intel.com>
Mon, 7 Jul 2014 14:12:00 +0000 (15:12 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 7 Jul 2014 16:15:13 +0000 (17:15 +0100)
commit49f681fab6a1e8e9d354bba692ba17cdcaa1fb1e
tree8c995fd06b5d1d4f0b888ed83be983aa046554ad
parent260974704ea4c01fb21166182e8b0cf266cbd77a
staging: iio: remove duplicate case labels

Otherwise, compiling iio_event_monitor program fails:

io_event_monitor.c: In function ‘event_is_known’:
iio_event_monitor.c:125:2: error: duplicate case value
  case IIO_MOD_LIGHT_BOTH:
  ^
iio_event_monitor.c:121:2: error: previously used here
  case IIO_MOD_LIGHT_BOTH:

Fixes: da4db94 (iio staging: add recently added modifiers to iio_event_monitor)
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Documentation/iio_event_monitor.c