Subject: [PATCH] staging: media: atomisp: i2c: align line break to match with open parenthesis

Aligns line break with the remaining function arguments
to the open parenthesis.
Issue found by checkpatch in file atomisp-gc2235.c

Signed-off-by: Beatriz Martins de Carvalho <[email protected]>
---
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c b/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
index 78147ffb6099..6ba4a8adff7c 100644
--- a/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
+++ b/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
@@ -171,8 +171,8 @@ static int __gc2235_buf_reg_array(struct i2c_client *client,
}

static int __gc2235_write_reg_is_consecutive(struct i2c_client *client,
- struct gc2235_write_ctrl *ctrl,
- const struct gc2235_reg *next)
+ struct gc2235_write_ctrl *ctrl,
+ const struct gc2235_reg *next)
{
if (ctrl->index == 0)
return 1;
--
2.25.1


2021-04-13 07:17:59

by Sakari Ailus

[permalink] [raw]
Subject: Re: [PATCH] staging: media: atomisp: i2c: align line break to match with open parenthesis

Hi Beatriz,

Thanks for the patch.

On Mon, Apr 12, 2021 at 02:43:01PM +0100, Beatriz Martins de Carvalho wrote:
> Aligns line break with the remaining function arguments
> to the open parenthesis.
> Issue found by checkpatch in file atomisp-gc2235.c
>
> Signed-off-by: Beatriz Martins de Carvalho <[email protected]>

Acked-by: Sakari Ailus <[email protected]>

--
Sakari Ailus