Re: [PATCH 29/35] ARM: davinci: cp-intc: drop GPL license boilerplate

From: David Lechner
Date: Mon Feb 04 2019 - 19:41:35 EST


On 1/31/19 7:39 AM, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Replace the GPLv2 license boilerplate with an SPDX identifier.

Should also mention that you are adding an author and copyright.


Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
---
arch/arm/mach-davinci/cp_intc.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c
index 812e49fcaa8b..780b3f57aa59 100644
--- a/arch/arm/mach-davinci/cp_intc.c
+++ b/arch/arm/mach-davinci/cp_intc.c
@@ -1,13 +1,11 @@
-/*
- * TI Common Platform Interrupt Controller (cp_intc) driver
- *
- * Author: Steve Chen <schen@xxxxxxxxxx>
- * Copyright (C) 2008-2009, MontaVista Software, Inc. <source@xxxxxxxxxx>
- *
- * 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.
- */
+// SPDX-License-Identifier: GPL-2.0

GPL-2.0-only ?

+//
+// Author: Steve Chen <schen@xxxxxxxxxx>
+// Copyright (C) 2008-2009, MontaVista Software, Inc. <source@xxxxxxxxxx>
+// Author: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
+// Copyright (C) 2019, Texas Instruments
+//
+// TI Common Platform Interrupt Controller (cp_intc) driver
#include <linux/export.h>
#include <linux/init.h>