summaryrefslogtreecommitdiff
path: root/drivers/base/devres.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-07 19:30:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-07 20:36:43 +0300
commit989d42e85dc2f6823f39b8e9d080fd04bae0645d (patch)
tree89dc96baef4a6af8644ee6cab7a356e409b38e7a /drivers/base/devres.c
parent045c5f75b77177ad19fe747e33aae2249a12e827 (diff)
downloadlinux-989d42e85dc2f6823f39b8e9d080fd04bae0645d.tar.xz
driver core: add SPDX identifiers to all driver core files
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Update the driver core files files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Johannes Berg <johannes@sipsolutions.net> Cc: "Luis R. Rodriguez" <mcgrof@kernel.org> Cc: William Breathitt Gray <vilhelm.gray@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/devres.c')
-rw-r--r--drivers/base/devres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/devres.c b/drivers/base/devres.c
index 71d577025285..1b7a9a8cbd6a 100644
--- a/drivers/base/devres.c
+++ b/drivers/base/devres.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* drivers/base/devres.c - device resource management
*