iio: imu: kmx61: Use false instead of 0 for ev_enable_state

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Daniel Baluta 2014-12-23 15:22:29 +02:00 committed by Jonathan Cameron
parent 0475c68544
commit d4a4ae04d2
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ static int kmx61_write_event_config(struct iio_dev *indio_dev,
mutex_lock(&data->lock);
if (!state && data->motion_trig_on) {
data->ev_enable_state = 0;
data->ev_enable_state = false;
goto err_unlock;
}