summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-03 01:44:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-19 11:09:06 -0400
commitac1dc6b2e7d34dd608d082d1735e5c95f42beb77 (patch)
treead3ada9c4c700c337ecadac770e1f124b7b30546 /drivers
parenta7d7a39274654d404857c2b2982793eded0e3130 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233
Based on 1 normalized pattern(s): this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 6 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190602204653.720704315@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/extcon/extcon-max3355.c5
-rw-r--r--drivers/gpio/gpio-reg.c5
-rw-r--r--drivers/gpio/gpio-tegra186.c5
-rw-r--r--drivers/i2c/busses/i2c-axxia.c5
-rw-r--r--drivers/input/touchscreen/elants_i2c.c7
5 files changed, 5 insertions, 22 deletions
diff --git a/drivers/extcon/extcon-max3355.c b/drivers/extcon/extcon-max3355.c
index 1335a476bfec..fa01926c09f1 100644
--- a/drivers/extcon/extcon-max3355.c
+++ b/drivers/extcon/extcon-max3355.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Maxim Integrated MAX3355 USB OTG chip extcon driver 3 * Maxim Integrated MAX3355 USB OTG chip extcon driver
3 * 4 *
4 * Copyright (C) 2014-2015 Cogent Embedded, Inc. 5 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
5 * Author: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> 6 * Author: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
6 *
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms.
10 */ 7 */
11 8
12#include <linux/extcon-provider.h> 9#include <linux/extcon-provider.h>
diff --git a/drivers/gpio/gpio-reg.c b/drivers/gpio/gpio-reg.c
index e85903eddc68..fdc7a9d5b382 100644
--- a/drivers/gpio/gpio-reg.c
+++ b/drivers/gpio/gpio-reg.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * gpio-reg: single register individually fixed-direction GPIOs 3 * gpio-reg: single register individually fixed-direction GPIOs
3 * 4 *
4 * Copyright (C) 2016 Russell King 5 * Copyright (C) 2016 Russell King
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 */ 6 */
10#include <linux/gpio/driver.h> 7#include <linux/gpio/driver.h>
11#include <linux/gpio/gpio-reg.h> 8#include <linux/gpio/gpio-reg.h>
diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index 7d42e3d7572c..a9058fda187e 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2016-2017 NVIDIA Corporation 3 * Copyright (c) 2016-2017 NVIDIA Corporation
3 * 4 *
4 * Author: Thierry Reding <treding@nvidia.com> 5 * Author: Thierry Reding <treding@nvidia.com>
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 */ 6 */
10 7
11#include <linux/gpio/driver.h> 8#include <linux/gpio/driver.h>
diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c
index 1c7b41f45c83..ff3142b15cab 100644
--- a/drivers/i2c/busses/i2c-axxia.c
+++ b/drivers/i2c/busses/i2c-axxia.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * This driver implements I2C master functionality using the LSI API2C 3 * This driver implements I2C master functionality using the LSI API2C
3 * controller. 4 * controller.
@@ -5,10 +6,6 @@
5 * NOTE: The controller has a limitation in that it can only do transfers of 6 * NOTE: The controller has a limitation in that it can only do transfers of
6 * maximum 255 bytes at a time. If a larger transfer is attempted, error code 7 * maximum 255 bytes at a time. If a larger transfer is attempted, error code
7 * (-EINVAL) is returned. 8 * (-EINVAL) is returned.
8 *
9 * This software is licensed under the terms of the GNU General Public
10 * License version 2, as published by the Free Software Foundation, and
11 * may be copied, distributed, and modified under those terms.
12 */ 9 */
13#include <linux/clk.h> 10#include <linux/clk.h>
14#include <linux/clkdev.h> 11#include <linux/clkdev.h>
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c
index f2cb23121833..d4ad24ea54c8 100644
--- a/drivers/input/touchscreen/elants_i2c.c
+++ b/drivers/input/touchscreen/elants_i2c.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Elan Microelectronics touch panels with I2C interface 3 * Elan Microelectronics touch panels with I2C interface
3 * 4 *
@@ -10,7 +11,6 @@
10 * Copyright (c) 2010-2012 Benjamin Tissoires <benjamin.tissoires@gmail.com> 11 * Copyright (c) 2010-2012 Benjamin Tissoires <benjamin.tissoires@gmail.com>
11 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France 12 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France
12 * 13 *
13 *
14 * This code is partly based on i2c-hid.c: 14 * This code is partly based on i2c-hid.c:
15 * 15 *
16 * Copyright (c) 2012 Benjamin Tissoires <benjamin.tissoires@gmail.com> 16 * Copyright (c) 2012 Benjamin Tissoires <benjamin.tissoires@gmail.com>
@@ -18,11 +18,6 @@
18 * Copyright (c) 2012 Red Hat, Inc 18 * Copyright (c) 2012 Red Hat, Inc
19 */ 19 */
20 20
21/*
22 * This software is licensed under the terms of the GNU General Public
23 * License version 2, as published by the Free Software Foundation, and
24 * may be copied, distributed, and modified under those terms.
25 */
26 21
27#include <linux/module.h> 22#include <linux/module.h>
28#include <linux/input.h> 23#include <linux/input.h>