[PATCH 2/3] mtd: sh_flctl: fix alignment of function argument

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri May 1 16:08:11 PDT 2015


Hi Nicholas,

Thank you for the patch.

On Friday 01 May 2015 16:16:02 Nicholas Mc Guire wrote:
> This just is a minor coding style cleanup - align the function arguments
> with the opening (.

I would just squash this into patch 1/3.

> Signed-off-by: Nicholas Mc Guire <hofrat at osadl.org>
> ---
> 
> Patch was compile tested with ap325rxa_defconfig (implies
> CONFIG_MTD_NAND_SH_FLCTL=y)
> 
> Patch is against 4.1-rc1 (localversion-next is -next-20150501)
> 
>  drivers/mtd/nand/sh_flctl.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c
> index 4450864..b9f265a 100644
> --- a/drivers/mtd/nand/sh_flctl.c
> +++ b/drivers/mtd/nand/sh_flctl.c
> @@ -391,7 +391,7 @@ static int flctl_dma_fifo0_transfer(struct sh_flctl
> *flctl, unsigned long *buf,
> 
>  	time_left =
>  	wait_for_completion_timeout(&flctl->dma_complete,
> -				msecs_to_jiffies(3000));
> +				    msecs_to_jiffies(3000));
> 
>  	if (time_left == 0) {
>  		dmaengine_terminate_all(chan);

-- 
Regards,

Laurent Pinchart




More information about the linux-mtd mailing list