[PATCH v2 2/8] staging: greybus: audio_codec.c: Fix alignment should match open parenthesis

Dan Carpenter dan.carpenter at oracle.com
Wed Jan 17 13:42:51 UTC 2018


On Wed, Jan 17, 2018 at 03:29:33PM +0200, Kamal Heib wrote:
> Cleanup "Alignment should match open parenthesis" checkpatch.pl errors.
> 
> Signed-off-by: Kamal Heib <kamalheib1 at gmail.com>
> ---
>  drivers/staging/greybus/audio_codec.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
> index fdb9e83cc34b..0dae31f39a2b 100644
> --- a/drivers/staging/greybus/audio_codec.c
> +++ b/drivers/staging/greybus/audio_codec.c
> @@ -70,7 +70,7 @@ static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec,
>  		i2s_port = 0;	/* fixed for now */
>  		cportid = data->connection->hd_cport_id;
>  		ret = gb_audio_apbridgea_register_cport(data->connection,
> -						i2s_port, cportid,
> +							i2s_port, cportid,
>  						AUDIO_APBRIDGEA_DIRECTION_TX);

Now it doesn't line up with the next line.  The original was better.

regards,
dan carpenter



More information about the devel mailing list