This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: ov13858: Use false for boolean value
Author:  Gustavo A. R. Silva <gust...@embeddedor.com>
Date:    Tue Jan 23 12:49:29 2018 -0500

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 <gust...@embeddedor.com>
Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/media/i2c/ov13858.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

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;
 }
 

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to