summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ov13858.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-01-23 12:49:29 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 02:51:35 -0500
commitf4b32c292aa66788ba7d4db54a76b4a08f60784a (patch)
tree2dd0e3f859eef9484a5c8c7679444e1cc75f933f /drivers/media/i2c/ov13858.c
parentd365bc92475205312c0064e92398ead059156bd9 (diff)
downloadlinux-f4b32c292aa66788ba7d4db54a76b4a08f60784a.tar.bz2
media: ov13858: Use false for boolean value
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/ov13858.c')
-rw-r--r--drivers/media/i2c/ov13858.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c
index 2964d5cae1fb..1f260d346a29 100644
--- a/drivers/media/i2c/ov13858.c
+++ b/drivers/media/i2c/ov13858.c
@@ -1569,7 +1569,7 @@ static int __maybe_unused ov13858_resume(struct device *dev)
error:
ov13858_stop_streaming(ov13858);
- ov13858->streaming = 0;
+ ov13858->streaming = false;
return ret;
}