soc: actions: Convert to SPDX license identifiers

Message ID 20180121170143.29915-1-afaerber@suse.de
State New
Headers show
Series
  • soc: actions: Convert to SPDX license identifiers
Related show

Commit Message

Andreas Färber Jan. 21, 2018, 5:01 p.m.
Replace textual license notices with SPDX-License-Identifier lines.
Add an SPDX-License-Identifier for the Makefile.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 drivers/soc/actions/Makefile         | 2 ++
 drivers/soc/actions/owl-sps-helper.c | 6 +-----
 drivers/soc/actions/owl-sps.c        | 6 +-----
 3 files changed, 4 insertions(+), 10 deletions(-)

Comments

Andreas Färber Feb. 18, 2018, 3 p.m. | #1
Am 21.01.2018 um 18:01 schrieb Andreas Färber:
> Replace textual license notices with SPDX-License-Identifier lines.
> Add an SPDX-License-Identifier for the Makefile.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  drivers/soc/actions/Makefile         | 2 ++
>  drivers/soc/actions/owl-sps-helper.c | 6 +-----
>  drivers/soc/actions/owl-sps.c        | 6 +-----
>  3 files changed, 4 insertions(+), 10 deletions(-)

Applied to v4.17/drivers:
https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions.git/log/?h=v4.17/drivers

Regards,
Andreas

Patch

diff --git a/drivers/soc/actions/Makefile b/drivers/soc/actions/Makefile
index 1e101b06bab1..4db9e7b050e5 100644
--- a/drivers/soc/actions/Makefile
+++ b/drivers/soc/actions/Makefile
@@ -1,2 +1,4 @@ 
+# SPDX-License-Identifier: GPL-2.0+
+
 obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
 obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
diff --git a/drivers/soc/actions/owl-sps-helper.c b/drivers/soc/actions/owl-sps-helper.c
index 9d7a2c2b44ec..291a206d6f04 100644
--- a/drivers/soc/actions/owl-sps-helper.c
+++ b/drivers/soc/actions/owl-sps-helper.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Actions Semi Owl Smart Power System (SPS) shared helpers
  *
@@ -5,11 +6,6 @@ 
  * Author: Actions Semi, Inc.
  *
  * Copyright (c) 2017 Andreas Färber
- *
- * 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;  either version 2 of the  License, or (at your
- * option) any later version.
  */
 
 #include <linux/delay.h>
diff --git a/drivers/soc/actions/owl-sps.c b/drivers/soc/actions/owl-sps.c
index 8477f0f18e24..38b276e6f319 100644
--- a/drivers/soc/actions/owl-sps.c
+++ b/drivers/soc/actions/owl-sps.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Actions Semi Owl Smart Power System (SPS)
  *
@@ -5,11 +6,6 @@ 
  * Author: Actions Semi, Inc.
  *
  * Copyright (c) 2017 Andreas Färber
- *
- * 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;  either version 2 of the  License, or (at your
- * option) any later version.
  */
 
 #include <linux/of_address.h>