diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-09-25 03:08:48 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-25 03:08:48 -0400 |
commit | dae5f0afcfc35ff64dfb65cddc6842ceeeca68c4 (patch) | |
tree | 347f867eb6c9fccb1ff6032050a04a6543361850 /drivers/gpio/devres.c | |
parent | ff19473bdc2b59f73b71d5d25a6bc42d2b531c60 (diff) |
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.c | 12 |
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 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
1 | /* | 2 | /* |
2 | * drivers/gpio/devres.c - managed gpio resources | 3 | * devres.c - managed gpio resources |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 | ||
6 | * as published by the Free Software Foundation. | ||
7 | * | ||
8 | * You should have received a copy of the GNU General Public License | ||
9 | * along with this program; if not, write to the Free Software | ||
10 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
11 | * | ||
12 | * This file is based on kernel/irq/devres.c | 4 | * This file is based on kernel/irq/devres.c |
13 | * | 5 | * |
14 | * Copyright (c) 2011 John Crispin <john@phrozen.org> | 6 | * Copyright (c) 2011 John Crispin <john@phrozen.org> |