soc: samsung: Add SPDX license identifier
Krzysztof Kozlowski
maintainerPATCH 1/1 soc: samsung: Add SPDX license identifier
Replace GPL license statements with a SPDX GPL-2.0 license identifiers.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/soc/samsung/Kconfig | 1 + drivers/soc/samsung/Makefile | 1 + drivers/soc/samsung/exynos-pmu.c | 16 ++++++---------- drivers/soc/samsung/exynos-pmu.h | 5 +---- drivers/soc/samsung/exynos3250-pmu.c | 16 ++++++---------- drivers/soc/samsung/exynos4-pmu.c | 16 ++++++---------- drivers/soc/samsung/exynos5250-pmu.c | 16 ++++++---------- drivers/soc/samsung/exynos5420-pmu.c | 16 ++++++---------- drivers/soc/samsung/pm_domains.c | 24 ++++++++++-------------- 9 files changed, 43 insertions(+), 68 deletions(-)
drivers/soc/samsung/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # SAMSUNG SoC drivers #
drivers/soc/samsung/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o obj-$(CONFIG_EXYNOS_PMU_ARM_DRIVERS) += exynos3250-pmu.o exynos4-pmu.o \
drivers/soc/samsung/exynos-pmu.c +6 -10
@@ -1,13 +1,9 @@ -/* -* Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. -* http://www.samsung.com/ -* -* EXYNOS - CPU PMU(Power Management Unit) support -* -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. +// http://www.samsung.com/ +// +// EXYNOS - CPU PMU(Power Management Unit) support #include <linux/of.h> #include <linux/of_address.h>
drivers/soc/samsung/exynos-pmu.h +1 -4
@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Header for EXYNOS PMU Driver support -* -* 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. */ #ifndef __EXYNOS_PMU_H
drivers/soc/samsung/exynos3250-pmu.c +6 -10
@@ -1,13 +1,9 @@ -/* -* Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. -* http://www.samsung.com/ -* -* EXYNOS3250 - CPU PMU (Power Management Unit) support -* -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. +// http://www.samsung.com/ +// +// EXYNOS3250 - CPU PMU (Power Management Unit) support #include <linux/soc/samsung/exynos-regs-pmu.h> #include <linux/soc/samsung/exynos-pmu.h>
drivers/soc/samsung/exynos4-pmu.c +6 -10
@@ -1,13 +1,9 @@ -/* -* Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. -* http://www.samsung.com/ -* -* EXYNOS4 - CPU PMU(Power Management Unit) support -* -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. +// http://www.samsung.com/ +// +// EXYNOS4 - CPU PMU(Power Management Unit) support #include <linux/soc/samsung/exynos-regs-pmu.h> #include <linux/soc/samsung/exynos-pmu.h>
drivers/soc/samsung/exynos5250-pmu.c +6 -10
@@ -1,13 +1,9 @@ -/* -* Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. -* http://www.samsung.com/ -* -* EXYNOS5250 - CPU PMU (Power Management Unit) support -* -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. +// http://www.samsung.com/ +// +// EXYNOS5250 - CPU PMU (Power Management Unit) support #include <linux/soc/samsung/exynos-regs-pmu.h> #include <linux/soc/samsung/exynos-pmu.h>
drivers/soc/samsung/exynos5420-pmu.c +6 -10
@@ -1,13 +1,9 @@ -/* -* Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. -* http://www.samsung.com/ -* -* EXYNOS5420 - CPU PMU (Power Management Unit) support -* -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2011-2015 Samsung Electronics Co., Ltd. +// http://www.samsung.com/ +// +// EXYNOS5420 - CPU PMU (Power Management Unit) support #include <linux/pm.h> #include <linux/soc/samsung/exynos-regs-pmu.h>
drivers/soc/samsung/pm_domains.c +10 -14
@@ -1,17 +1,13 @@ -/* -* Exynos Generic power domain support. -* -* Copyright (c) 2012 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* -* Implementation of Exynos specific power domain control which is used in -* conjunction with runtime-pm. Support for both device-tree and non-device-tree -* based power domain support is included. -* -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Exynos Generic power domain support. +// +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// http://www.samsung.com +// +// Implementation of Exynos specific power domain control which is used in +// conjunction with runtime-pm. Support for both device-tree and non-device-tree +// based power domain support is included. #include <linux/io.h> #include <linux/err.h>
Signature · 1 line
2.7.4