Skip to contentSkip to conversation

pinctrl: berlin: switch to SPDX license identifier

PATCH In review Jisheng Zhang 2 participants 2 messages May 16, 2018 – May 23, 2018

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

PATCH 1/1 pinctrl: berlin: switch to SPDX license identifier

Use the appropriate SPDX license identifier in the berlin pinctrl driver source file and drop the previous license text.

---
 drivers/pinctrl/berlin/berlin-bg2.c   |  5 +----
 drivers/pinctrl/berlin/berlin-bg2cd.c |  5 +----
 drivers/pinctrl/berlin/berlin-bg2q.c  |  5 +----
 drivers/pinctrl/berlin/berlin-bg4ct.c | 13 +------------
 drivers/pinctrl/berlin/berlin.c       |  5 +----
 drivers/pinctrl/berlin/berlin.h       |  5 +----
 6 files changed, 6 insertions(+), 32 deletions(-)
drivers/pinctrl/berlin/berlin-bg2.c +1 -4
index bf2e17d0d6e4..acbd413340e8 100644
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Marvell Berlin BG2 pinctrl driver.
  *
  * Copyright (C) 2014 Marvell Technology Group Ltd.
  *
  * Antoine Ténart <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
drivers/pinctrl/berlin/berlin-bg2cd.c +1 -4
index 9bee7bd1650f..c0f5d86d5d01 100644
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Marvell Berlin BG2CD pinctrl driver.
  *
  * Copyright (C) 2014 Marvell Technology Group Ltd.
  *
  * Antoine Ténart <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
drivers/pinctrl/berlin/berlin-bg2q.c +1 -4
index eee6763f114c..20a3216ede07 100644
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Marvell Berlin BG2Q pinctrl driver
  *
  * Copyright (C) 2014 Marvell Technology Group Ltd.
  *
  * Antoine Ténart <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
drivers/pinctrl/berlin/berlin-bg4ct.c +1 -12
index e6740656ee7c..6a7fe929a68b 100644
@@ -1,21 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Marvell berlin4ct pinctrl driver
  *
  * Copyright (C) 2015 Marvell Technology Group Ltd.
  *
  * Author: Jisheng Zhang <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <linux/init.h>
drivers/pinctrl/berlin/berlin.c +1 -4
index cc3bd2efafe3..a620a8e8fa78 100644
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Marvell Berlin SoC pinctrl core driver
  *
  * Copyright (C) 2014 Marvell Technology Group Ltd.
  *
  * Antoine Ténart <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/io.h>
drivers/pinctrl/berlin/berlin.h +1 -4
index e9b30f95b03e..d7787754d1ed 100644
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Marvell Berlin SoC pinctrl driver.
  *
  * Copyright (C) 2014 Marvell Technology Group Ltd.
  *
  * Antoine Ténart <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __PINCTRL_BERLIN_H
Signature · 1 line
2.17.0
#1 lore raw
Quoted 4 lines · Jisheng Zhang

Use the appropriate SPDX license identifier in the berlin pinctrl driver source file and drop the previous license text.

Patch applied.

Yours,
Linus Walleij