diff mbox

[v2] dmaengine: rcar-dmac: convert to SPDX identifiers

Message ID 87r2kjx2qw.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Headers show

Commit Message

Kuninori Morimoto July 4, 2018, 12:34 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch is using C++ comment style for SPDX line only,
because driver author want it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
I posted this because I don't know which style was OK.
Please pick-up best side patch

v1 -> v2

 - used // for SPDX line only

 drivers/dma/sh/rcar-dmac.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Geert Uytterhoeven July 4, 2018, 7:20 a.m. UTC | #1
On Wed, Jul 4, 2018 at 2:34 AM Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> This patch is using C++ comment style for SPDX line only,
> because driver author want it.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

>   August 21 -  Release of renesas-drivers-2018-08-21-v4.18 (TBC) or
>               Release of renesas-drivers-2018-08-21-v4.19-rc1 (TBC)

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
Laurent Pinchart July 5, 2018, 8:30 a.m. UTC | #2
Hi Morimoto-san,

Thank you for the patch.

On Wednesday, 4 July 2018 03:34:10 EEST Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> This patch is using C++ comment style for SPDX line only,
> because driver author want it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> I posted this because I don't know which style was OK.
> Please pick-up best side patch
> 
> v1 -> v2
> 
>  - used // for SPDX line only
> 
>  drivers/dma/sh/rcar-dmac.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c
> index 79d14af..ebd160d 100644
> --- a/drivers/dma/sh/rcar-dmac.c
> +++ b/drivers/dma/sh/rcar-dmac.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * Renesas R-Car Gen2 DMA Controller Driver
>   *
>   * Copyright (C) 2014 Renesas Electronics Inc.
>   *
>   * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> - *
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.
>   */
> 
>  #include <linux/delay.h>
Vinod Koul July 6, 2018, 6:02 a.m. UTC | #3
On 04-07-18, 00:34, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> This patch is using C++ comment style for SPDX line only,
> because driver author want it.

Applied, thanks
diff mbox

Patch

diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c
index 79d14af..ebd160d 100644
--- a/drivers/dma/sh/rcar-dmac.c
+++ b/drivers/dma/sh/rcar-dmac.c
@@ -1,13 +1,10 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Renesas R-Car Gen2 DMA Controller Driver
  *
  * Copyright (C) 2014 Renesas Electronics Inc.
  *
  * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
- *
- * This is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  */
 
 #include <linux/delay.h>