summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2021-11-17 12:38:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-22 09:53:31 +0100
commitf2d0f7ce12bb6cc19cc515ee445de4e7b89683e5 (patch)
tree40cefce0b9962704d77cb809b06a2bbfad7af8e6 /drivers/regulator
parent4cca29fcf6c92703b50f7883f0318faa87352d69 (diff)
downloadbarebox-f2d0f7ce12bb6cc19cc515ee445de4e7b89683e5.tar.gz
barebox-f2d0f7ce12bb6cc19cc515ee445de4e7b89683e5.tar.xz
drivers: migrate "GPL-2.0" license identifiers to SPDX 2.0
"GPL-2.0-only" was introduced in SPDX 2.0, and the old identifier "GPL-2.0" is now considered deprecated; see <https://spdx.org/licenses>. Fixes: 28f4a6a4df76f0f1581d (2021-10-30, "drivers: add missing SPDX-License-Identifier") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20211117113851.2022669-2-rhi@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/Kconfig2
-rw-r--r--drivers/regulator/Makefile2
-rw-r--r--drivers/regulator/bcm2835.c2
-rw-r--r--drivers/regulator/core.c2
-rw-r--r--drivers/regulator/fixed.c2
-rw-r--r--drivers/regulator/helpers.c2
-rw-r--r--drivers/regulator/stm32-pwr.c2
-rw-r--r--drivers/regulator/stpmic1_regulator.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 4e05d8f488..02cea362eb 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
menuconfig REGULATOR
bool "voltage regulator support"
diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile
index 9580bcb5ca..7b5d527cb1 100644
--- a/drivers/regulator/Makefile
+++ b/drivers/regulator/Makefile
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_REGULATOR) += core.o helpers.o
obj-$(CONFIG_OFDEVICE) += of_regulator.o
obj-$(CONFIG_REGULATOR_FIXED) += fixed.o
diff --git a/drivers/regulator/bcm2835.c b/drivers/regulator/bcm2835.c
index 3351e6d2f3..71a1d1a55d 100644
--- a/drivers/regulator/bcm2835.c
+++ b/drivers/regulator/bcm2835.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* bcm2835 regulator support
*
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 7eb849cd31..420f6b075f 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* barebox regulator support
*
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index e6a85c46f4..f068fded62 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* fixed regulator support
*
diff --git a/drivers/regulator/helpers.c b/drivers/regulator/helpers.c
index 06cccbeeca..fb689a6bfc 100644
--- a/drivers/regulator/helpers.c
+++ b/drivers/regulator/helpers.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
#include <common.h>
#include <regmap.h>
#include <regulator.h>
diff --git a/drivers/regulator/stm32-pwr.c b/drivers/regulator/stm32-pwr.c
index 4cb46b081a..8cb0b0c12e 100644
--- a/drivers/regulator/stm32-pwr.c
+++ b/drivers/regulator/stm32-pwr.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) STMicroelectronics 2019
// Authors: Gabriel Fernandez <gabriel.fernandez@st.com>
// Pascal Paillet <p.paillet@st.com>.
diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c
index 61227e0855..63ed4468ed 100644
--- a/drivers/regulator/stpmic1_regulator.c
+++ b/drivers/regulator/stpmic1_regulator.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) STMicroelectronics 2018
// Author: Pascal Paillet <p.paillet@st.com> for STMicroelectronics.