diff options
author | Daniel W. S. Almeida <dwlsalmeida@gmail.com> | 2020-08-07 10:35:44 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-29 08:03:39 +0200 |
commit | 08091fc1780e2f785caf905d1029cea707513037 (patch) | |
tree | 4d81dca338e8c25a5025cbe3c114fe5fa56e5518 /drivers/media/pci/cobalt | |
parent | media: i2c: imx219.c: fix assignment of 0/1 to bool variable (diff) | |
download | linux-08091fc1780e2f785caf905d1029cea707513037.tar.xz linux-08091fc1780e2f785caf905d1029cea707513037.zip |
media: i2c: tda1997x.c: Fix assignment of 0/1 to bool variable
Fix the following coccinelle reports:
drivers/media/i2c/tda1997x.c:911:6-21:
WARNING: Assignment of 0/1 to bool variable
drivers/media/i2c/tda1997x.c:939:2-17:
WARNING: Assignment of 0/1 to bool variable
drivers/media/i2c/tda1997x.c:947:4-19:
WARNING: Assignment of 0/1 to bool variable
Replace assignment to 1 with true and assignment to 0 with false.
Found using - Coccinelle (http://coccinelle.lip6.fr)
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/cobalt')
0 files changed, 0 insertions, 0 deletions