aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/typec
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-11 11:08:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-15 16:03:44 +0100
commit2ded45270a211c66eee193d4f92f2e19cf19ac4b (patch)
treea88fd50b9f3d2c07287178167dafa31133db4700 /drivers/staging/typec
parentstaging: vme: vme_user.c: remove redundant license text (diff)
downloadlinux-dev-2ded45270a211c66eee193d4f92f2e19cf19ac4b.tar.xz
linux-dev-2ded45270a211c66eee193d4f92f2e19cf19ac4b.zip
staging: typec: add SPDX identifier.
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the drivers/staging/typec/ files to have a proper SPDX 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: 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/staging/typec')
-rw-r--r--drivers/staging/typec/tcpci.c1
-rw-r--r--drivers/staging/typec/tcpci.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c
index c6b5b0a3293f..8722dc1444f8 100644
--- a/drivers/staging/typec/tcpci.c
+++ b/drivers/staging/typec/tcpci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2015-2017 Google, Inc
*
diff --git a/drivers/staging/typec/tcpci.h b/drivers/staging/typec/tcpci.h
index 10b04c8723da..2a16dbf852a5 100644
--- a/drivers/staging/typec/tcpci.h
+++ b/drivers/staging/typec/tcpci.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2015-2017 Google, Inc
*