linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers
@ 2018-05-11 17:03 Suman Anna
  2018-05-11 17:03 ` [PATCH 1/6] hwspinlock/core: Switch to SPDX license identifier Suman Anna
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna

Hi Bjorn,

The following series switches over the current licensing text in
various HwSpinlock drivers to the SPDX licensing format. Please
let me know if you need any changes. If you are ok with the changes,
I will make similar changes to the remoteproc and rpmsg drivers and
post them at the earliest so that they can be picked up for 4.18.

regards
Suman

Suman Anna (6):
  hwspinlock/core: Switch to SPDX license identifier
  hwspinlock/omap: Switch to SPDX license identifier
  hwspinlock: qcom: Switch to SPDX license identifier
  hwspinlock/sirf: Switch to SPDX license identifier
  hwspinlock/u8500: Switch to SPDX license identifier
  hwspinlock: sprd: Switch to SPDX license identifier

 drivers/hwspinlock/Kconfig               |  1 +
 drivers/hwspinlock/hwspinlock_core.c     | 10 +---------
 drivers/hwspinlock/hwspinlock_internal.h | 10 +---------
 drivers/hwspinlock/omap_hwspinlock.c     | 10 +---------
 drivers/hwspinlock/qcom_hwspinlock.c     | 10 +---------
 drivers/hwspinlock/sirf_hwspinlock.c     |  3 +--
 drivers/hwspinlock/sprd_hwspinlock.c     | 10 +---------
 drivers/hwspinlock/u8500_hsem.c          | 10 +---------
 include/linux/hwspinlock.h               | 10 +---------
 9 files changed, 9 insertions(+), 65 deletions(-)

-- 
2.17.0

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

* [PATCH 1/6] hwspinlock/core: Switch to SPDX license identifier
  2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
@ 2018-05-11 17:03 ` Suman Anna
  2018-05-11 17:03 ` [PATCH 2/6] hwspinlock/omap: " Suman Anna
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna

Use the appropriate SPDX license identifier in the Hwspinlock core
driver source files and drop the previous boilerplate license text.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/hwspinlock/Kconfig               |  1 +
 drivers/hwspinlock/hwspinlock_core.c     | 10 +---------
 drivers/hwspinlock/hwspinlock_internal.h | 10 +---------
 include/linux/hwspinlock.h               | 10 +---------
 4 files changed, 4 insertions(+), 27 deletions(-)

diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig
index f0f467983960..e895d29500ee 100644
--- a/drivers/hwspinlock/Kconfig
+++ b/drivers/hwspinlock/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Generic HWSPINLOCK framework
 #
diff --git a/drivers/hwspinlock/hwspinlock_core.c b/drivers/hwspinlock/hwspinlock_core.c
index 4074441444fe..a41bc79aaa15 100644
--- a/drivers/hwspinlock/hwspinlock_core.c
+++ b/drivers/hwspinlock/hwspinlock_core.c
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Hardware spinlock framework
  *
  * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com
  *
  * Contact: Ohad Ben-Cohen <ohad@wizery.com>
- *
- * 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.
- *
- * 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.
  */
 
 #define pr_fmt(fmt)    "%s: " fmt, __func__
diff --git a/drivers/hwspinlock/hwspinlock_internal.h b/drivers/hwspinlock/hwspinlock_internal.h
index d26f78b8f214..9eb6bd020dc7 100644
--- a/drivers/hwspinlock/hwspinlock_internal.h
+++ b/drivers/hwspinlock/hwspinlock_internal.h
@@ -1,18 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Hardware spinlocks internal header
  *
  * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com
  *
  * Contact: Ohad Ben-Cohen <ohad@wizery.com>
- *
- * 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.
- *
- * 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.
  */
 
 #ifndef __HWSPINLOCK_HWSPINLOCK_H
diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h
index 859d673d98c8..cd6cd7fbd3c9 100644
--- a/include/linux/hwspinlock.h
+++ b/include/linux/hwspinlock.h
@@ -1,18 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Hardware spinlock public header
  *
  * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com
  *
  * Contact: Ohad Ben-Cohen <ohad@wizery.com>
- *
- * 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.
- *
- * 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.
  */
 
 #ifndef __LINUX_HWSPINLOCK_H
-- 
2.17.0

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

* [PATCH 2/6] hwspinlock/omap: Switch to SPDX license identifier
  2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
  2018-05-11 17:03 ` [PATCH 1/6] hwspinlock/core: Switch to SPDX license identifier Suman Anna
@ 2018-05-11 17:03 ` Suman Anna
  2018-05-11 17:03 ` [PATCH 3/6] hwspinlock: qcom: " Suman Anna
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna

Use the appropriate SPDX license identifier in the OMAP hwspinlock
driver source file and drop the previous boilerplate license text.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/hwspinlock/omap_hwspinlock.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c
index ad2f8cac8487..79a4030e89d8 100644
--- a/drivers/hwspinlock/omap_hwspinlock.c
+++ b/drivers/hwspinlock/omap_hwspinlock.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * OMAP hardware spinlock driver
  *
@@ -6,15 +7,6 @@
  * Contact: Simon Que <sque@ti.com>
  *          Hari Kanigeri <h-kanigeri2@ti.com>
  *          Ohad Ben-Cohen <ohad@wizery.com>
- *
- * 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.
- *
- * 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/kernel.h>
-- 
2.17.0

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

* [PATCH 3/6] hwspinlock: qcom: Switch to SPDX license identifier
  2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
  2018-05-11 17:03 ` [PATCH 1/6] hwspinlock/core: Switch to SPDX license identifier Suman Anna
  2018-05-11 17:03 ` [PATCH 2/6] hwspinlock/omap: " Suman Anna
@ 2018-05-11 17:03 ` Suman Anna
  2018-05-11 17:03 ` [PATCH 4/6] hwspinlock/sirf: " Suman Anna
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna

Use the appropriate SPDX license identifier in the Qualcomm Hwspinlock
driver source file and drop the previous boilerplate license text.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/hwspinlock/qcom_hwspinlock.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c
index fa6880b8060a..6da7447d277d 100644
--- a/drivers/hwspinlock/qcom_hwspinlock.c
+++ b/drivers/hwspinlock/qcom_hwspinlock.c
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2013, The Linux Foundation. All rights reserved.
  * Copyright (c) 2015, Sony Mobile Communications AB
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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/hwspinlock.h>
-- 
2.17.0

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

* [PATCH 4/6] hwspinlock/sirf: Switch to SPDX license identifier
  2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
                   ` (2 preceding siblings ...)
  2018-05-11 17:03 ` [PATCH 3/6] hwspinlock: qcom: " Suman Anna
@ 2018-05-11 17:03 ` Suman Anna
  2018-05-11 17:03 ` [PATCH 5/6] hwspinlock/u8500: " Suman Anna
  2018-05-11 17:03 ` [PATCH 6/6] hwspinlock: sprd: " Suman Anna
  5 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna,
	Wei Chen, Barry Song

Use the appropriate SPDX license identifier in the CSR's SIRF hardware
spinlock driver source file and drop the previous boilerplate license text.

Cc: Wei Chen <wei.chen@csr.com>
Cc: Barry Song <baohua@kernel.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/hwspinlock/sirf_hwspinlock.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/hwspinlock/sirf_hwspinlock.c b/drivers/hwspinlock/sirf_hwspinlock.c
index 16018544d431..02ef6e543cd1 100644
--- a/drivers/hwspinlock/sirf_hwspinlock.c
+++ b/drivers/hwspinlock/sirf_hwspinlock.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SIRF hardware spinlock driver
  *
  * Copyright (c) 2015 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2.
  */
 
 #include <linux/kernel.h>
-- 
2.17.0

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

* [PATCH 5/6] hwspinlock/u8500: Switch to SPDX license identifier
  2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
                   ` (3 preceding siblings ...)
  2018-05-11 17:03 ` [PATCH 4/6] hwspinlock/sirf: " Suman Anna
@ 2018-05-11 17:03 ` Suman Anna
  2018-05-15 12:44   ` Linus Walleij
  2018-05-11 17:03 ` [PATCH 6/6] hwspinlock: sprd: " Suman Anna
  5 siblings, 1 reply; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna,
	Mathieu J . Poirier, Linus Walleij

Use the appropriate SPDX license identifier in the U8500 HWSEM
driver source file and drop the previous boilerplate license text.

Cc: Mathieu J. Poirier <mathieu.poirier@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/hwspinlock/u8500_hsem.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c
index e93eabbd660f..84a92d424e8d 100644
--- a/drivers/hwspinlock/u8500_hsem.c
+++ b/drivers/hwspinlock/u8500_hsem.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * u8500 HWSEM driver
  *
@@ -10,15 +11,6 @@
  *   Simon Que <sque@ti.com>
  *   Hari Kanigeri <h-kanigeri2@ti.com>
  *   Ohad Ben-Cohen <ohad@wizery.com>
- *
- * 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.
- *
- * 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>
-- 
2.17.0

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

* [PATCH 6/6] hwspinlock: sprd: Switch to SPDX license identifier
  2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
                   ` (4 preceding siblings ...)
  2018-05-11 17:03 ` [PATCH 5/6] hwspinlock/u8500: " Suman Anna
@ 2018-05-11 17:03 ` Suman Anna
  5 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2018-05-11 17:03 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-remoteproc, linux-kernel, linux-arm-kernel, Suman Anna,
	Baolin Wang

Use the appropriate SPDX license identifiers in the Spreadtrum hardware
spinlock driver source file and drop the previous boilerplate license text.

Cc: Baolin Wang <baolin.wang@spreadtrum.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
 drivers/hwspinlock/sprd_hwspinlock.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/hwspinlock/sprd_hwspinlock.c b/drivers/hwspinlock/sprd_hwspinlock.c
index 638e64ac18f5..dc42bf51f3e6 100644
--- a/drivers/hwspinlock/sprd_hwspinlock.c
+++ b/drivers/hwspinlock/sprd_hwspinlock.c
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Spreadtrum hardware spinlock driver
  * Copyright (C) 2017 Spreadtrum  - http://www.spreadtrum.com
- *
- * 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.
- *
- * 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>
-- 
2.17.0

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

* Re: [PATCH 5/6] hwspinlock/u8500: Switch to SPDX license identifier
  2018-05-11 17:03 ` [PATCH 5/6] hwspinlock/u8500: " Suman Anna
@ 2018-05-15 12:44   ` Linus Walleij
  0 siblings, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2018-05-15 12:44 UTC (permalink / raw)
  To: Suman Anna
  Cc: Bjorn Andersson, linux-remoteproc, linux-kernel, Linux ARM,
	Mathieu J . Poirier

On Fri, May 11, 2018 at 7:03 PM, Suman Anna <s-anna@ti.com> wrote:

> Use the appropriate SPDX license identifier in the U8500 HWSEM
> driver source file and drop the previous boilerplate license text.
>
> Cc: Mathieu J. Poirier <mathieu.poirier@linaro.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Suman Anna <s-anna@ti.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

end of thread, other threads:[~2018-05-15 12:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-11 17:03 [PATCH 0/6] hwspinlock: Convert to use SPDX license identifiers Suman Anna
2018-05-11 17:03 ` [PATCH 1/6] hwspinlock/core: Switch to SPDX license identifier Suman Anna
2018-05-11 17:03 ` [PATCH 2/6] hwspinlock/omap: " Suman Anna
2018-05-11 17:03 ` [PATCH 3/6] hwspinlock: qcom: " Suman Anna
2018-05-11 17:03 ` [PATCH 4/6] hwspinlock/sirf: " Suman Anna
2018-05-11 17:03 ` [PATCH 5/6] hwspinlock/u8500: " Suman Anna
2018-05-15 12:44   ` Linus Walleij
2018-05-11 17:03 ` [PATCH 6/6] hwspinlock: sprd: " Suman Anna

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