linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] tree-wide: use SPDX identifier for Renesas drivers
@ 2018-08-21 22:02 Wolfram Sang
  2018-08-21 22:02 ` [PATCH 03/11] i2c: " Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2018-08-21 22:02 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Kuninori Morimoto, Wolfram Sang, dmaengine, linux-can, linux-clk,
	linux-i2c, linux-kernel, linux-mmc, linux-pwm, linux-spi,
	linux-watchdog, netdev

Here is my first batch of SPDX conversion patches. Mostly low hanging fruits,
only a handful of drivers needed corrections in MODULE_LICENSE, too.

checkpatch is happy as well.

I think an ack from Morimoto-san with his Renesas email address would be nice
to make it more official? Still, I *am* contracted by Renesas.

Thanks,

   Wolfram

Wolfram Sang (11):
  clk: renesas: use SPDX identifier for Renesas drivers
  dmaengine: use SPDX identifier for Renesas drivers
  i2c: use SPDX identifier for Renesas drivers
  mmc: use SPDX identifier for Renesas drivers
  can: rcar: use SPDX identifier for Renesas drivers
  net: ethernet: renesas: use SPDX identifier for Renesas drivers
  phy: renesas: use SPDX identifier for Renesas drivers
  pwm: use SPDX identifier for Renesas drivers
  soc: renesas: use SPDX identifier for Renesas drivers
  spi: use SPDX identifier for Renesas drivers
  watchdog: use SPDX identifier for Renesas drivers

 drivers/clk/renesas/clk-div6.c                |  5 +----
 drivers/clk/renesas/r8a7795-cpg-mssr.c        |  5 +----
 drivers/clk/renesas/r8a7796-cpg-mssr.c        |  5 +----
 drivers/clk/renesas/r8a77995-cpg-mssr.c       |  5 +----
 drivers/clk/renesas/rcar-gen3-cpg.c           |  5 +----
 drivers/clk/renesas/rcar-usb2-clock-sel.c     |  5 +----
 drivers/clk/renesas/renesas-cpg-mssr.c        |  5 +----
 drivers/clk/renesas/renesas-cpg-mssr.h        |  5 +----
 drivers/dma/nbpfaxi.c                         |  5 +----
 drivers/dma/sh/shdma-arm.h                    |  5 +----
 drivers/dma/sh/shdma-base.c                   |  5 +----
 drivers/dma/sh/shdma-of.c                     |  5 +----
 drivers/dma/sh/shdma-r8a73a4.c                |  5 +----
 drivers/dma/sh/shdma.h                        |  6 +-----
 drivers/dma/sh/shdmac.c                       |  6 +-----
 drivers/dma/sh/sudmac.c                       |  5 +----
 drivers/dma/sh/usb-dmac.c                     |  5 +----
 drivers/i2c/busses/i2c-emev2.c                |  5 +----
 drivers/i2c/busses/i2c-highlander.c           |  5 +----
 drivers/i2c/busses/i2c-rcar.c                 | 10 +---------
 drivers/i2c/busses/i2c-riic.c                 |  5 +----
 drivers/i2c/busses/i2c-sh_mobile.c            | 10 +---------
 drivers/mmc/host/renesas_sdhi.h               |  5 +----
 drivers/mmc/host/renesas_sdhi_core.c          |  5 +----
 drivers/mmc/host/renesas_sdhi_internal_dmac.c |  5 +----
 drivers/mmc/host/renesas_sdhi_sys_dmac.c      |  5 +----
 drivers/mmc/host/sh_mmcif.c                   |  7 ++-----
 drivers/mmc/host/tmio_mmc.c                   |  5 +----
 drivers/mmc/host/tmio_mmc.h                   |  6 +-----
 drivers/mmc/host/tmio_mmc_core.c              |  5 +----
 drivers/mmc/host/usdhi6rol0.c                 |  5 +----
 drivers/net/can/rcar/rcar_can.c               |  6 +-----
 drivers/net/can/rcar/rcar_canfd.c             |  6 +-----
 drivers/net/ethernet/renesas/ravb.h           |  5 +----
 drivers/net/ethernet/renesas/ravb_main.c      |  5 +----
 drivers/net/ethernet/renesas/sh_eth.c         | 13 +------------
 drivers/net/ethernet/renesas/sh_eth.h         | 13 +------------
 drivers/phy/renesas/phy-rcar-gen2.c           |  5 +----
 drivers/phy/renesas/phy-rcar-gen3-usb2.c      |  5 +----
 drivers/phy/renesas/phy-rcar-gen3-usb3.c      |  5 +----
 drivers/pwm/pwm-rcar.c                        |  5 +----
 drivers/pwm/pwm-renesas-tpu.c                 | 10 +---------
 drivers/soc/renesas/r8a7743-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7745-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7779-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7790-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7791-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7792-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7794-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7795-sysc.c            |  5 +----
 drivers/soc/renesas/r8a7796-sysc.c            |  5 +----
 drivers/soc/renesas/r8a77970-sysc.c           |  5 +----
 drivers/soc/renesas/r8a77995-sysc.c           |  5 +----
 drivers/soc/renesas/rcar-sysc.h               |  5 +----
 drivers/soc/renesas/renesas-soc.c             | 10 +---------
 drivers/spi/spi-rspi.c                        | 10 +---------
 drivers/spi/spi-sh-hspi.c                     | 12 ++----------
 drivers/spi/spi-sh-msiof.c                    |  6 +-----
 drivers/spi/spi-sh.c                          | 12 ++----------
 drivers/watchdog/renesas_wdt.c                |  5 +----
 60 files changed, 63 insertions(+), 300 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 03/11] i2c: use SPDX identifier for Renesas drivers
  2018-08-21 22:02 [PATCH 00/11] tree-wide: use SPDX identifier for Renesas drivers Wolfram Sang
@ 2018-08-21 22:02 ` Wolfram Sang
  2018-08-22  9:34   ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2018-08-21 22:02 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Kuninori Morimoto, Wolfram Sang, linux-i2c, linux-kernel

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

To be applied individually per subsystem tree. Morimoto-san, could you maybe
ack this with your Renesas address?

 drivers/i2c/busses/i2c-emev2.c      |  5 +----
 drivers/i2c/busses/i2c-highlander.c |  5 +----
 drivers/i2c/busses/i2c-rcar.c       | 10 +---------
 drivers/i2c/busses/i2c-riic.c       |  5 +----
 drivers/i2c/busses/i2c-sh_mobile.c  | 10 +---------
 5 files changed, 5 insertions(+), 30 deletions(-)

diff --git a/drivers/i2c/busses/i2c-emev2.c b/drivers/i2c/busses/i2c-emev2.c
index ba9b6ea48a31..35b302d983e0 100644
--- a/drivers/i2c/busses/i2c-emev2.c
+++ b/drivers/i2c/busses/i2c-emev2.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * I2C driver for the Renesas EMEV2 SoC
  *
  * Copyright (C) 2015 Wolfram Sang <wsa@sang-engineering.com>
  * Copyright 2013 Codethink Ltd.
  * Copyright 2010-2015 Renesas Electronics Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
  */
 
 #include <linux/clk.h>
diff --git a/drivers/i2c/busses/i2c-highlander.c b/drivers/i2c/busses/i2c-highlander.c
index 56dc69e7349f..ff340d7ae2e5 100644
--- a/drivers/i2c/busses/i2c-highlander.c
+++ b/drivers/i2c/busses/i2c-highlander.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Renesas Solutions Highlander FPGA I2C/SMBus support.
  *
@@ -6,10 +7,6 @@
  * Copyright (C) 2008  Paul Mundt
  * Copyright (C) 2008  Renesas Solutions Corp.
  * Copyright (C) 2008  Atom Create Engineering Co., Ltd.
- *
- * This file is subject to the terms and conditions of the GNU General
- * Public License version 2. See the file "COPYING" in the main directory
- * of this archive for more details.
  */
 #include <linux/module.h>
 #include <linux/interrupt.h>
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c
index 43ad933df0f0..52cf42b32f0a 100644
--- a/drivers/i2c/busses/i2c-rcar.c
+++ b/drivers/i2c/busses/i2c-rcar.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for the Renesas R-Car I2C unit
  *
@@ -9,15 +10,6 @@
  *
  * This file is based on the drivers/i2c/busses/i2c-sh7760.c
  * (c) 2005-2008 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/bitops.h>
 #include <linux/clk.h>
diff --git a/drivers/i2c/busses/i2c-riic.c b/drivers/i2c/busses/i2c-riic.c
index 5f1fca7880b1..b75ff144b570 100644
--- a/drivers/i2c/busses/i2c-riic.c
+++ b/drivers/i2c/busses/i2c-riic.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Renesas RIIC driver
  *
  * Copyright (C) 2013 Wolfram Sang <wsa@sang-engineering.com>
  * Copyright (C) 2013 Renesas Solutions Corp.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published by
- * the Free Software Foundation.
  */
 
 /*
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c
index 9c7f6f8ceb22..439e8778f849 100644
--- a/drivers/i2c/busses/i2c-sh_mobile.c
+++ b/drivers/i2c/busses/i2c-sh_mobile.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SuperH Mobile I2C Controller
  *
@@ -7,15 +8,6 @@
  *
  * Portions of the code based on out-of-tree driver i2c-sh7343.c
  * Copyright (c) 2006 Carlos Munoz <carlos@kenati.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 03/11] i2c: use SPDX identifier for Renesas drivers
  2018-08-21 22:02 ` [PATCH 03/11] i2c: " Wolfram Sang
@ 2018-08-22  9:34   ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2018-08-22  9:34 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Kuninori Morimoto, linux-i2c, linux-kernel

On Wed, Aug 22, 2018 at 12:02:16AM +0200, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-22  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 22:02 [PATCH 00/11] tree-wide: use SPDX identifier for Renesas drivers Wolfram Sang
2018-08-21 22:02 ` [PATCH 03/11] i2c: " Wolfram Sang
2018-08-22  9:34   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).