summaryrefslogtreecommitdiff
path: root/drivers/gpio/devres.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/devres.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/devres.c')
-rw-r--r--drivers/gpio/devres.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c
index e82cc763633c..01959369360b 100644
--- a/drivers/gpio/devres.c
+++ b/drivers/gpio/devres.c
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
- * drivers/gpio/devres.c - managed gpio resources
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ * devres.c - managed gpio resources
* This file is based on kernel/irq/devres.c
*
* Copyright (c) 2011 John Crispin <john@phrozen.org>