linux-spi.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 10/11] spi: " Wolfram Sang
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* [PATCH 10/11] spi: 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:33   ` Simon Horman
  2018-08-28 20:59   ` Applied "spi: use SPDX identifier for Renesas drivers" to the spi tree Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfram Sang @ 2018-08-21 22:02 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Kuninori Morimoto, Wolfram Sang, Mark Brown, linux-spi,
	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/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 ++----------
 4 files changed, 6 insertions(+), 34 deletions(-)

diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c
index 95dc4d78618d..018dec2fac4b 100644
--- a/drivers/spi/spi-rspi.c
+++ b/drivers/spi/spi-rspi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SH RSPI driver
  *
@@ -6,15 +7,6 @@
  *
  * Based on spi-sh.c:
  * Copyright (C) 2011 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 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/module.h>
diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c
index 20e800e70442..dc0926e43665 100644
--- a/drivers/spi/spi-sh-hspi.c
+++ b/drivers/spi/spi-sh-hspi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SuperH HSPI bus driver
  *
@@ -7,15 +8,6 @@
  * Based on pxa2xx_spi.c:
  * Copyright (C) 2011 Renesas Solutions Corp.
  * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
- *
- * 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/clk.h>
@@ -316,6 +308,6 @@ static struct platform_driver hspi_driver = {
 module_platform_driver(hspi_driver);
 
 MODULE_DESCRIPTION("SuperH HSPI bus driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>");
 MODULE_ALIAS("platform:sh-hspi");
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 539d6d1a277a..3eb7bcd33f22 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SuperH MSIOF SPI Master Interface
  *
  * Copyright (c) 2009 Magnus Damm
  * Copyright (C) 2014 Renesas Electronics Corporation
  * Copyright (C) 2014-2017 Glider bvba
- *
- * 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/bitmap.h>
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c
index 50e0ea9acf8b..f1ee58208216 100644
--- a/drivers/spi/spi-sh.c
+++ b/drivers/spi/spi-sh.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SH SPI bus driver
  *
@@ -5,15 +6,6 @@
  *
  * Based on pxa2xx_spi.c:
  * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
- *
- * 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/module.h>
@@ -522,6 +514,6 @@ static struct platform_driver spi_sh_driver = {
 module_platform_driver(spi_sh_driver);
 
 MODULE_DESCRIPTION("SH SPI bus driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Yoshihiro Shimoda");
 MODULE_ALIAS("platform:sh_spi");
-- 
2.11.0

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

* Re: [PATCH 10/11] spi: use SPDX identifier for Renesas drivers
  2018-08-21 22:02 ` [PATCH 10/11] spi: " Wolfram Sang
@ 2018-08-22  9:33   ` Simon Horman
  2018-08-28 20:59   ` Applied "spi: use SPDX identifier for Renesas drivers" to the spi tree Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2018-08-22  9:33 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Kuninori Morimoto, Mark Brown, linux-spi,
	linux-kernel

On Wed, Aug 22, 2018 at 12:02:23AM +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] 4+ messages in thread

* Applied "spi: use SPDX identifier for Renesas drivers" to the spi tree
  2018-08-21 22:02 ` [PATCH 10/11] spi: " Wolfram Sang
  2018-08-22  9:33   ` Simon Horman
@ 2018-08-28 20:59   ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-08-28 20:59 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Mark Brown, linux-renesas-soc, Kuninori Morimoto, Mark Brown,
	linux-spi, linux-kernel, linux-spi

The patch

   spi: use SPDX identifier for Renesas drivers

has been applied to the spi tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 9135bac325052be8a131a8a75bbcc583451ebb1f Mon Sep 17 00:00:00 2001
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Wed, 22 Aug 2018 00:02:23 +0200
Subject: [PATCH] spi: use SPDX identifier for Renesas drivers

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 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 ++----------
 4 files changed, 6 insertions(+), 34 deletions(-)

diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c
index 95dc4d78618d..018dec2fac4b 100644
--- a/drivers/spi/spi-rspi.c
+++ b/drivers/spi/spi-rspi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SH RSPI driver
  *
@@ -6,15 +7,6 @@
  *
  * Based on spi-sh.c:
  * Copyright (C) 2011 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 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/module.h>
diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c
index 20e800e70442..dc0926e43665 100644
--- a/drivers/spi/spi-sh-hspi.c
+++ b/drivers/spi/spi-sh-hspi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SuperH HSPI bus driver
  *
@@ -7,15 +8,6 @@
  * Based on pxa2xx_spi.c:
  * Copyright (C) 2011 Renesas Solutions Corp.
  * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
- *
- * 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/clk.h>
@@ -316,6 +308,6 @@ static struct platform_driver hspi_driver = {
 module_platform_driver(hspi_driver);
 
 MODULE_DESCRIPTION("SuperH HSPI bus driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>");
 MODULE_ALIAS("platform:sh-hspi");
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 539d6d1a277a..3eb7bcd33f22 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SuperH MSIOF SPI Master Interface
  *
  * Copyright (c) 2009 Magnus Damm
  * Copyright (C) 2014 Renesas Electronics Corporation
  * Copyright (C) 2014-2017 Glider bvba
- *
- * 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/bitmap.h>
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c
index 50e0ea9acf8b..f1ee58208216 100644
--- a/drivers/spi/spi-sh.c
+++ b/drivers/spi/spi-sh.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SH SPI bus driver
  *
@@ -5,15 +6,6 @@
  *
  * Based on pxa2xx_spi.c:
  * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
- *
- * 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/module.h>
@@ -522,6 +514,6 @@ static struct platform_driver spi_sh_driver = {
 module_platform_driver(spi_sh_driver);
 
 MODULE_DESCRIPTION("SH SPI bus driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Yoshihiro Shimoda");
 MODULE_ALIAS("platform:sh_spi");
-- 
2.18.0

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

end of thread, other threads:[~2018-08-28 20:59 UTC | newest]

Thread overview: 4+ 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 10/11] spi: " Wolfram Sang
2018-08-22  9:33   ` Simon Horman
2018-08-28 20:59   ` Applied "spi: use SPDX identifier for Renesas drivers" to the spi tree Mark Brown

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).