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

Signed-off-by: Daniel Baluta <[email protected]>
Acked-by: Hartmut Knaack <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
Daniel Baluta 2014-12-23 15:22:29 +02:00 • committed by Jonathan Cameron
commit d4a4ae04d2

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;
}