iio: gyro: bmg160: Fix iio_event_spec direction
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Sat, 11 Oct 2014 03:33:28 +0000 (20:33 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 16 Nov 2014 20:19:25 +0000 (20:19 +0000)
commit6896ab3a8cfe383cc0c98790b62245a84c6335f7
tree2dff4e12056fdeaacc5dde9eebad6c246c0524b0
parentcb80f6a36be9b3007f23c2d37eddc90a37dac87f
iio: gyro: bmg160: Fix iio_event_spec direction

Change event spec direction from
IIO_EV_DIR_RISING | IIO_EV_DIR_FALLING
to
IIO_EV_DIR_EITHER

Suggested-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/bmg160.c