media: staging: media: atomisp: Fix bool-related style issues
authorAlex Dewar <alex.dewar90@gmail.com>
Mon, 21 Sep 2020 21:53:59 +0000 (23:53 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 22 Sep 2020 08:03:20 +0000 (10:03 +0200)
commit2394984fee7356e8c03817316cff4e9b7896fbb4
treed285b4facd96889fc4b404a1d6094326d9f1e4bf
parente2858fa617980243a62d6b9f659bd9321220471b
media: staging: media: atomisp: Fix bool-related style issues

Address the following issues:
 * unnecessary comparison to true/false
 * use of 0/1 instead of bool values
 * unnecessary conversion to bool

These were fixed using the following Coccinelle scripts:
 * scripts/coccinelle/misc/bool{init,conv,return}.cocci

Build-tested with allmodconfig.

Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/sh_css.c
drivers/staging/media/atomisp/pci/sh_css_firmware.c