diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2014-12-23 08:22:29 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-05 13:59:53 -0500 |
commit | d4a4ae04d236a01a8648648a0e11777250ab2974 (patch) | |
tree | 80038eb98fb7037634227baeff6904d855c2b8b1 /drivers/iio/imu | |
parent | 0475c68544ddcb72905e35cb8c050c523020e2c7 (diff) |
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>
Diffstat (limited to 'drivers/iio/imu')
-rw-r--r-- | drivers/iio/imu/kmx61.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
972 | mutex_lock(&data->lock); | 972 | mutex_lock(&data->lock); |
973 | 973 | ||
974 | if (!state && data->motion_trig_on) { | 974 | if (!state && data->motion_trig_on) { |
975 | data->ev_enable_state = 0; | 975 | data->ev_enable_state = false; |
976 | goto err_unlock; | 976 | goto err_unlock; |
977 | } | 977 | } |
978 | 978 | ||