2018-02-21 00:04:55

by Mani, Rajmohan

[permalink] [raw]
Subject: [PATCH 0/3] 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(-)

--
1.9.1



2018-02-21 00:05:28

by Mani, Rajmohan

[permalink] [raw]
Subject: [PATCH 1/3] mfd: Update to SPDX license identifier

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

Signed-off-by: Rajmohan Mani <[email protected]>
---
drivers/mfd/tps68470.c | 10 +---------
include/linux/mfd/tps68470.h | 17 +++--------------
2 files changed, 4 insertions(+), 23 deletions(-)

diff --git a/drivers/mfd/tps68470.c b/drivers/mfd/tps68470.c
index 189efae..a5981a7 100644
--- a/drivers/mfd/tps68470.c
+++ b/drivers/mfd/tps68470.c
@@ -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>
diff --git a/include/linux/mfd/tps68470.h b/include/linux/mfd/tps68470.h
index 44f9d9f..ffe8112 100644
--- a/include/linux/mfd/tps68470.h
+++ b/include/linux/mfd/tps68470.h
@@ -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
--
1.9.1


2018-02-21 00:05:50

by Mani, Rajmohan

[permalink] [raw]
Subject: [PATCH 3/3] ACPI / PMIC: Update to SPDX license identifier

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

Signed-off-by: Rajmohan Mani <[email protected]>
---
drivers/acpi/pmic/tps68470_pmic.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/acpi/pmic/tps68470_pmic.c b/drivers/acpi/pmic/tps68470_pmic.c
index 7f3c567..a083de5 100644
--- a/drivers/acpi/pmic/tps68470_pmic.c
+++ b/drivers/acpi/pmic/tps68470_pmic.c
@@ -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
*/

--
1.9.1


2018-02-21 00:07:12

by Mani, Rajmohan

[permalink] [raw]
Subject: [PATCH 2/3] gpio: Update to SPDX license identifier

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

Signed-off-by: Rajmohan Mani <[email protected]>
---
drivers/gpio/gpio-tps68470.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/gpio/gpio-tps68470.c b/drivers/gpio/gpio-tps68470.c
index fa2662f..aff6e50 100644
--- a/drivers/gpio/gpio-tps68470.c
+++ b/drivers/gpio/gpio-tps68470.c
@@ -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>
--
1.9.1


2018-02-23 14:29:32

by Linus Walleij

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

On Wed, Feb 21, 2018 at 12:54 AM, Rajmohan Mani <[email protected]> wrote:

> Remove the GPL v2 license boilerplate and update with
> the SPDX license identifier.
>
> Signed-off-by: Rajmohan Mani <[email protected]>

Patch applied.

Yours,
Linus Walleij

2018-03-07 15:31:46

by Lee Jones

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

On Tue, 20 Feb 2018, Rajmohan Mani wrote:

> Remove the GPL v2 license boilerplate and update with
> the SPDX license identifier.
>
> Signed-off-by: Rajmohan Mani <[email protected]>
> ---
> drivers/mfd/tps68470.c | 10 +---------
> include/linux/mfd/tps68470.h | 17 +++--------------
> 2 files changed, 4 insertions(+), 23 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

2018-03-14 11:40:27

by Rafael J. Wysocki

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

On Wednesday, February 21, 2018 12:54:09 AM CET Rajmohan Mani wrote:
> Remove the GPL v2 license boilerplate and update with
> the SPDX license identifier.
>
> Signed-off-by: Rajmohan Mani <[email protected]>
> ---
> drivers/acpi/pmic/tps68470_pmic.c | 10 +---------
> 1 file changed, 1 insertion(+), 9 deletions(-)
>
> diff --git a/drivers/acpi/pmic/tps68470_pmic.c b/drivers/acpi/pmic/tps68470_pmic.c
> index 7f3c567..a083de5 100644
> --- a/drivers/acpi/pmic/tps68470_pmic.c
> +++ b/drivers/acpi/pmic/tps68470_pmic.c
> @@ -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
> */
>
>

Applied, thanks!