[PATCH] media: staging: atomisp: Fixed allignment to match open parenthesis

2020-10-05 Thread Leonid Kushnir
Moved the parameters of the function '__gc0310_write_reg_is_consecutive' to the right under open parenthesis to fix warning message from checkpatch.pl: 'CHECK: Alignment should match open parenthesis'. Signed-off-by: Leonid Kushnir --- drivers/staging/media/atomisp/i2c/

[PATCH 2/2] media: staging: atomisp: Removed else branch in function

2020-10-06 Thread Leonid Kushnir
Therefore, there is no need in 'else', and it has been removed. Signed-off-by: Leonid Kushnir --- drivers/staging/media/atomisp/i2c/atomisp-gc0310.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c b/drivers/

[PATCH 3/3] media: staging: atomisp: Corrected error handling in function

2020-10-06 Thread Leonid Kushnir
'return ret' are swapped, and direct value of 'ret' is checked in IF statement now. Signed-off-by: Leonid Kushnir --- drivers/staging/media/atomisp/i2c/atomisp-gc0310.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/atomisp/i2c/