media: staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_v4l2.c
Balance braces around conditional statements. Issue detected by checkpatch.pl. It happens in if-else statements where one of the commands uses braces around a block of code and the other command does not since it has just a single line of code. Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
41d1f1b039
commit
d1ca04c476
|
@ -1500,9 +1500,9 @@ static int init_atomisp_wdts(struct atomisp_device *isp)
|
|||
for (i = 0; i < isp->num_of_streams; i++) {
|
||||
struct atomisp_sub_device *asd = &isp->asd[i];
|
||||
|
||||
if (!IS_ISP2401)
|
||||
if (!IS_ISP2401) {
|
||||
timer_setup(&asd->wdt, atomisp_wdt, 0);
|
||||
else {
|
||||
} else {
|
||||
timer_setup(&asd->video_out_capture.wdt,
|
||||
atomisp_wdt, 0);
|
||||
timer_setup(&asd->video_out_preview.wdt,
|
||||
|
|
Loading…
Reference in New Issue