projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iio: Don't compare boolean values to true/false
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
iio
/
inkern.c
diff --git
a/drivers/iio/inkern.c
b/drivers/iio/inkern.c
index f2b78d4fe45778d01f05a97eb1e3a9b1bc8164e4..5230a33886c0c37e18bc1d742c4e4210a5f60495 100644
(file)
--- a/
drivers/iio/inkern.c
+++ b/
drivers/iio/inkern.c
@@
-78,7
+78,7
@@
int iio_map_array_unregister(struct iio_dev *indio_dev,
found_it = true;
break;
}
- if (
found_it == false
) {
+ if (
!found_it
) {
ret = -ENODEV;
goto error_ret;
}