Commit d1ca04c4 authored by Aline Santana Cordeiro's avatar Aline Santana Cordeiro Committed by Mauro Carvalho Chehab

media: staging: media: atomisp: pci: Balance braces around conditional...

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: default avatarAline Santana Cordeiro <alinesantanacordeiro@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 41d1f1b0
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment