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

2015-05-01 Thread Laurent Pinchart
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 
> ---
> 
> 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(>dma_complete,
> - msecs_to_jiffies(3000));
> + msecs_to_jiffies(3000));
> 
>   if (time_left == 0) {
>   dmaengine_terminate_all(chan);

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2015-05-01 Thread Nicholas Mc Guire
This just is a minor coding style cleanup - align the function arguments
with the opening (.

Signed-off-by: Nicholas Mc Guire 
---

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(>dma_complete,
-   msecs_to_jiffies(3000));
+   msecs_to_jiffies(3000));
 
if (time_left == 0) {
dmaengine_terminate_all(chan);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2015-05-01 Thread Laurent Pinchart
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 hof...@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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2015-05-01 Thread Nicholas Mc Guire
This just is a minor coding style cleanup - align the function arguments
with the opening (.

Signed-off-by: Nicholas Mc Guire hof...@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);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/