From: Daniel Baluta Date: Tue, 23 Dec 2014 13:22:29 +0000 (+0200) Subject: iio: imu: kmx61: Use false instead of 0 for ev_enable_state X-Git-Tag: firefly_0821_release~176^2~2320^2~245^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d4a4ae04d236a01a8648648a0e11777250ab2974;p=firefly-linux-kernel-4.4.55.git iio: imu: kmx61: Use false instead of 0 for ev_enable_state Signed-off-by: Daniel Baluta Acked-by: Hartmut Knaack Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c index 777b7f68591c..a70a3ef91793 100644 --- a/drivers/iio/imu/kmx61.c +++ b/drivers/iio/imu/kmx61.c @@ -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; }