summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-sysfs.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-sysfs.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-sysfs.c')
-rw-r--r--drivers/gpio/gpiolib-sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c
index 3d7c90fe7189..fbf6b1a0a4fa 100644
--- a/drivers/gpio/gpiolib-sysfs.c
+++ b/drivers/gpio/gpiolib-sysfs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include <linux/idr.h>
#include <linux/mutex.h>
#include <linux/device.h>