summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-legacy.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-25 10:08:48 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-25 10:08:48 +0300
commitdae5f0afcfc35ff64dfb65cddc6842ceeeca68c4 (patch)
tree347f867eb6c9fccb1ff6032050a04a6543361850 /drivers/gpio/gpiolib-legacy.c
parentff19473bdc2b59f73b71d5d25a6bc42d2b531c60 (diff)
downloadlinux-dae5f0afcfc35ff64dfb65cddc6842ceeeca68c4.tar.xz
gpio: Use SPDX header for core library
Use the SPDX headers and cut down on boilerplate to indicate the license in the core gpiolib implementation. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-legacy.c')
-rw-r--r--drivers/gpio/gpiolib-legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib-legacy.c b/drivers/gpio/gpiolib-legacy.c
index 8b830996fe02..30e2476a6dc4 100644
--- a/drivers/gpio/gpiolib-legacy.c
+++ b/drivers/gpio/gpiolib-legacy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include <linux/gpio/consumer.h>
#include <linux/gpio/driver.h>