]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: chemical: vz89x: fix boolreturn.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 1 Sep 2016 00:38:38 +0000 (08:38 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Sep 2016 16:49:53 +0000 (17:49 +0100)
commit2535cc7ae02bc1e4dc6b6d3771ba8d18cd824e10
treeae948cef07a2a3f26b837ca84530186dca9c9372
parent1b246fca4adaa0bf440b604366f2227cc4cde702
iio: chemical: vz89x: fix boolreturn.cocci warnings

drivers/iio/chemical/vz89x.c:119:9-10: WARNING: return of 0/1 in function 'vz89x_measurement_is_valid' with return type bool

 Return statements in functions returning bool should use
 true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci

CC: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/chemical/vz89x.c