From: Gustavo A. R. Silva Date: Tue, 23 Jan 2018 17:49:29 +0000 (-0500) Subject: media: ov13858: Use false for boolean value X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4b32c292aa66788ba7d4db54a76b4a08f60784a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- 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; }