iio: accel: bmc150: Fix iio_event_spec direction
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Sat, 11 Oct 2014 03:35:34 +0000 (20:35 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 16 Nov 2014 20:23:48 +0000 (20:23 +0000)
commit1174124c45209796b1a2853a411cf47cbfcaf7da
tree9e448691f31774f18f0e56ccb88132770d81658e
parent8d5a9781920171a36e5826248cd56b4b6a734335
iio: accel: bmc150: 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/accel/bmc150-accel.c