OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0475c68
)
iio: imu: kmx61: Use false instead of 0 for ev_enable_state
author
Daniel Baluta
<daniel.baluta@intel.com>
Tue, 23 Dec 2014 13:22:29 +0000
(15:22 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Mon, 5 Jan 2015 18:59:53 +0000
(18:59 +0000)
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>
drivers/iio/imu/kmx61.c
patch
|
blob
|
history
diff --git
a/drivers/iio/imu/kmx61.c
b/drivers/iio/imu/kmx61.c
index
777b7f6
..
a70a3ef
100644
(file)
--- 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;
}