Skip to contentSkip to conversation

Update TPS68470 PMIC drivers with SPDX tags

PATCH Applied Rajmohan Mani 4 participants 7 messages Feb 21, 2018 – Mar 14, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover Update TPS68470 PMIC drivers with SPDX tags

This patch series update the TPS68470 PMIC drivers with SPDX license identifiers, while removing the GPL v2 boilerplate license text.

Rajmohan Mani (3):
mfd: Update to SPDX license identifier
gpio: Update to SPDX license identifier
ACPI / PMIC: Update to SPDX license identifier

 drivers/acpi/pmic/tps68470_pmic.c | 10 +---------
 drivers/gpio/gpio-tps68470.c      | 10 +---------
 drivers/mfd/tps68470.c            | 10 +---------
 include/linux/mfd/tps68470.h      | 17 +++--------------
 4 files changed, 6 insertions(+), 41 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 mfd: Update to SPDX license identifier

Remove the GPL v2 license boilerplate and update with the SPDX license identifier.

---
 drivers/mfd/tps68470.c       | 10 +---------
 include/linux/mfd/tps68470.h | 17 +++--------------
 2 files changed, 4 insertions(+), 23 deletions(-)
drivers/mfd/tps68470.c +1 -9
index 189efae..a5981a7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * TPS68470 chip Parent driver
  *
@@ -8,15 +9,6 @@
  *	Tianshu Qiu <[email protected]>
  *	Jian Xu Zheng <[email protected]>
  *	Yuning Pu <[email protected]>
- *
- * 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.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/acpi.h>
include/linux/mfd/tps68470.h +3 -14
index 44f9d9f..ffe8112 100644
@@ -1,17 +1,6 @@
-/*
- * Copyright (c) 2017 Intel Corporation
- *
- * Functions to access TPS68470 power management chip.
- *
- * 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.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2017 Intel Corporation */
+/* Functions to access TPS68470 power management chip. */
 
 #ifndef __LINUX_MFD_TPS68470_H
 #define __LINUX_MFD_TPS68470_H
Signature · 1 line
1.9.1
Applied
#2 lore raw

Re: [PATCH 1/3] mfd: Update to SPDX license identifier

Quoted 8 lines · Rajmohan Mani

Remove the GPL v2 license boilerplate and update with the SPDX license identifier.

---
 drivers/mfd/tps68470.c       | 10 +---------
 include/linux/mfd/tps68470.h | 17 +++--------------
 2 files changed, 4 insertions(+), 23 deletions(-)

Applied, thanks.

Signature · 4 lines
Lee Jones
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
#3 lore raw

PATCH 2/3 gpio: Update to SPDX license identifier

In reply to Rajmohan Mani

Remove the GPL v2 license boilerplate and update with the SPDX license identifier.

---
 drivers/gpio/gpio-tps68470.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
drivers/gpio/gpio-tps68470.c +1 -9
index fa2662f..aff6e50 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * GPIO driver for TPS68470 PMIC
  *
@@ -8,15 +9,6 @@
  *	Tianshu Qiu <[email protected]>
  *	Jian Xu Zheng <[email protected]>
  *	Yuning Pu <[email protected]>
- *
- * 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.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/gpio/driver.h>
Signature · 1 line
1.9.1
#4 lore raw

Re: [PATCH 2/3] gpio: Update to SPDX license identifier

Quoted 4 lines · Rajmohan Mani

Remove the GPL v2 license boilerplate and update with the SPDX license identifier.

Patch applied.

Yours,
Linus Walleij

#5 lore raw

PATCH 3/3 ACPI / PMIC: Update to SPDX license identifier

In reply to Rajmohan Mani

Remove the GPL v2 license boilerplate and update with the SPDX license identifier.

---
 drivers/acpi/pmic/tps68470_pmic.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
drivers/acpi/pmic/tps68470_pmic.c +1 -9
index 7f3c567..a083de5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * TI TPS68470 PMIC operation region driver
  *
@@ -5,15 +6,6 @@
  *
  * Author: Rajmohan Mani <[email protected]>
  *
- * 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 "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Based on drivers/acpi/pmic/intel_pmic* drivers
  */
 
Signature · 1 line
1.9.1
#6 lore raw

Re: [PATCH 3/3] ACPI / PMIC: Update to SPDX license identifier

Quoted 24 lines · CET Rajmohan Mani

Remove the GPL v2 license boilerplate and update with the SPDX license identifier.

---
 drivers/acpi/pmic/tps68470_pmic.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
drivers/acpi/pmic/tps68470_pmic.c +1 -2
index 7f3c567..a083de5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * TI TPS68470 PMIC operation region driver
  *
@@ -5,15 +6,6 @@
  *
  * Author: Rajmohan Mani <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version

drivers/acpi/pmic/tps68470_pmic.c line 11

Quoted 10 lines
drivers/acpi/pmic/tps68470_pmic.c +0 -7
- * 2 as published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Based on drivers/acpi/pmic/intel_pmic* drivers
  */
 

Applied, thanks!