OSDN Git Service

media: staging: media: atomisp: pci: Correct identation in block of conditional state...
authorAline Santana Cordeiro <alinesantanacordeiro@gmail.com>
Wed, 14 Apr 2021 14:06:06 +0000 (16:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 10 May 2021 09:36:35 +0000 (11:36 +0200)
Correct identation in block of conditional statements.
The conditional statement depends on the results of the
macro function "list_for_each_entry()".

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>
drivers/staging/media/atomisp/pci/atomisp_acc.c

index f638d0b..5e5faa4 100644 (file)
@@ -77,8 +77,8 @@ acc_get_fw(struct atomisp_sub_device *asd, unsigned int handle)
        struct atomisp_acc_fw *acc_fw;
 
        list_for_each_entry(acc_fw, &asd->acc.fw, list)
-       if (acc_fw->handle == handle)
-               return acc_fw;
+               if (acc_fw->handle == handle)
+                       return acc_fw;
 
        return NULL;
 }