diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-01-23 12:49:29 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-23 02:51:35 -0500 |
commit | f4b32c292aa66788ba7d4db54a76b4a08f60784a (patch) | |
tree | 2dd0e3f859eef9484a5c8c7679444e1cc75f933f /drivers/media/i2c/ov13858.c | |
parent | d365bc92475205312c0064e92398ead059156bd9 (diff) | |
download | op-kernel-dev-f4b32c292aa66788ba7d4db54a76b4a08f60784a.zip op-kernel-dev-f4b32c292aa66788ba7d4db54a76b4a08f60784a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c index 2964d5c..1f260d3 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; } |