diff options
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-adnp.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-amdpt.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-ath79.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-dwapb.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-exar.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-max3191x.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-max7300.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-max7301.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-max730x.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-mm-lantiq.c | 4 | ||||
-rw-r--r-- | drivers/gpio/gpio-omap.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-pl061.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-pxa.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-sa1100.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-stp-xway.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-ucb1400.c | 6 | ||||
-rw-r--r-- | drivers/gpio/gpio-zevio.c | 5 | ||||
-rw-r--r-- | drivers/gpio/gpio-zx.c | 5 |
18 files changed, 18 insertions, 72 deletions
diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c index 12acdac85820..b9fcaab2a931 100644 --- a/drivers/gpio/gpio-adnp.c +++ b/drivers/gpio/gpio-adnp.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2011-2012 Avionic Design GmbH | 3 | * Copyright (C) 2011-2012 Avionic Design GmbH |
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 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/gpio/driver.h> | 6 | #include <linux/gpio/driver.h> |
diff --git a/drivers/gpio/gpio-amdpt.c b/drivers/gpio/gpio-amdpt.c index 1ffd7c2d1285..ad255ba7ece9 100644 --- a/drivers/gpio/gpio-amdpt.c +++ b/drivers/gpio/gpio-amdpt.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * AMD Promontory GPIO driver | 3 | * AMD Promontory GPIO driver |
3 | * | 4 | * |
4 | * Copyright (C) 2015 ASMedia Technology Inc. | 5 | * Copyright (C) 2015 ASMedia Technology Inc. |
5 | * Author: YD Tseng <yd_tseng@asmedia.com.tw> | 6 | * Author: YD Tseng <yd_tseng@asmedia.com.tw> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index 0a553d676042..6c6dcda1100c 100644 --- a/drivers/gpio/gpio-ath79.c +++ b/drivers/gpio/gpio-ath79.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Atheros AR71XX/AR724X/AR913X GPIO API support | 3 | * Atheros AR71XX/AR724X/AR913X GPIO API support |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> | 6 | * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> |
6 | * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> | 7 | * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> |
7 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> | 8 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify it | ||
10 | * under the terms of the GNU General Public License version 2 as published | ||
11 | * by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/gpio/driver.h> | 11 | #include <linux/gpio/driver.h> |
diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index d3eda65fd6d3..3108be5e208c 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011 Jamie Iles | 3 | * Copyright (c) 2011 Jamie Iles |
3 | * | 4 | * |
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 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * All enquiries to support@picochip.com | 5 | * All enquiries to support@picochip.com |
9 | */ | 6 | */ |
10 | #include <linux/acpi.h> | 7 | #include <linux/acpi.h> |
diff --git a/drivers/gpio/gpio-exar.c b/drivers/gpio/gpio-exar.c index a09d2f9ebacc..fae327d5b06e 100644 --- a/drivers/gpio/gpio-exar.c +++ b/drivers/gpio/gpio-exar.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO driver for Exar XR17V35X chip | 3 | * GPIO driver for Exar XR17V35X chip |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> | 5 | * Copyright (C) 2015 Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | #include <linux/bitops.h> | 7 | #include <linux/bitops.h> |
11 | #include <linux/device.h> | 8 | #include <linux/device.h> |
diff --git a/drivers/gpio/gpio-max3191x.c b/drivers/gpio/gpio-max3191x.c index 9a8876abeb57..4b4b2ceb82fc 100644 --- a/drivers/gpio/gpio-max3191x.c +++ b/drivers/gpio/gpio-max3191x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * gpio-max3191x.c - GPIO driver for Maxim MAX3191x industrial serializer | 3 | * gpio-max3191x.c - GPIO driver for Maxim MAX3191x industrial serializer |
3 | * | 4 | * |
@@ -27,10 +28,6 @@ | |||
27 | * https://datasheets.maximintegrated.com/en/ds/MAX31912.pdf | 28 | * https://datasheets.maximintegrated.com/en/ds/MAX31912.pdf |
28 | * https://datasheets.maximintegrated.com/en/ds/MAX31913.pdf | 29 | * https://datasheets.maximintegrated.com/en/ds/MAX31913.pdf |
29 | * https://datasheets.maximintegrated.com/en/ds/MAX31953-MAX31963.pdf | 30 | * https://datasheets.maximintegrated.com/en/ds/MAX31953-MAX31963.pdf |
30 | * | ||
31 | * This program is free software; you can redistribute it and/or modify | ||
32 | * it under the terms of the GNU General Public License (version 2) as | ||
33 | * published by the Free Software Foundation. | ||
34 | */ | 31 | */ |
35 | 32 | ||
36 | #include <linux/bitmap.h> | 33 | #include <linux/bitmap.h> |
diff --git a/drivers/gpio/gpio-max7300.c b/drivers/gpio/gpio-max7300.c index 1ae9ba851c9a..19cc2ed6a3f5 100644 --- a/drivers/gpio/gpio-max7300.c +++ b/drivers/gpio/gpio-max7300.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2009 Wolfram Sang, Pengutronix | 3 | * Copyright (C) 2009 Wolfram Sang, Pengutronix |
3 | * | 4 | * |
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 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * Check max730x.c for further details. | 5 | * Check max730x.c for further details. |
9 | */ | 6 | */ |
10 | 7 | ||
diff --git a/drivers/gpio/gpio-max7301.c b/drivers/gpio/gpio-max7301.c index 647dfbbc4e1c..1307c243b4e9 100644 --- a/drivers/gpio/gpio-max7301.c +++ b/drivers/gpio/gpio-max7301.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2006 Juergen Beisert, Pengutronix | 3 | * Copyright (C) 2006 Juergen Beisert, Pengutronix |
3 | * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix | 4 | * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix |
4 | * Copyright (C) 2009 Wolfram Sang, Pengutronix | 5 | * Copyright (C) 2009 Wolfram Sang, Pengutronix |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Check max730x.c for further details. | 7 | * Check max730x.c for further details. |
11 | */ | 8 | */ |
12 | 9 | ||
diff --git a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c index 198a36b07773..1e1935c51096 100644 --- a/drivers/gpio/gpio-max730x.c +++ b/drivers/gpio/gpio-max730x.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (C) 2006 Juergen Beisert, Pengutronix | 3 | * Copyright (C) 2006 Juergen Beisert, Pengutronix |
3 | * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix | 4 | * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix |
4 | * Copyright (C) 2009 Wolfram Sang, Pengutronix | 5 | * Copyright (C) 2009 Wolfram Sang, Pengutronix |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * The Maxim MAX7300/1 device is an I2C/SPI driven GPIO expander. There are | 7 | * The Maxim MAX7300/1 device is an I2C/SPI driven GPIO expander. There are |
11 | * 28 GPIOs. 8 of them can trigger an interrupt. See datasheet for more | 8 | * 28 GPIOs. 8 of them can trigger an interrupt. See datasheet for more |
12 | * details | 9 | * details |
diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c index b0754fe69e77..f460d71b0c92 100644 --- a/drivers/gpio/gpio-mm-lantiq.c +++ b/drivers/gpio/gpio-mm-lantiq.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify it | ||
3 | * under the terms of the GNU General Public License version 2 as published | ||
4 | * by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2012 John Crispin <john@phrozen.org> | 4 | * Copyright (C) 2012 John Crispin <john@phrozen.org> |
7 | */ | 5 | */ |
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 16289bafa001..9276ef616430 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Support functions for OMAP GPIO | 3 | * Support functions for OMAP GPIO |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Copyright (C) 2009 Texas Instruments | 8 | * Copyright (C) 2009 Texas Instruments |
8 | * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> | 9 | * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/init.h> | 12 | #include <linux/init.h> |
diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c index dc42571e6fdc..9aad32206e84 100644 --- a/drivers/gpio/gpio-pl061.c +++ b/drivers/gpio/gpio-pl061.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2008, 2009 Provigent Ltd. | 3 | * Copyright (C) 2008, 2009 Provigent Ltd. |
3 | * | 4 | * |
4 | * Author: Baruch Siach <baruch@tkos.co.il> | 5 | * Author: Baruch Siach <baruch@tkos.co.il> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Driver for the ARM PrimeCell(tm) General Purpose Input/Output (PL061) | 7 | * Driver for the ARM PrimeCell(tm) General Purpose Input/Output (PL061) |
11 | * | 8 | * |
12 | * Data sheet: ARM DDI 0190B, September 2000 | 9 | * Data sheet: ARM DDI 0190B, September 2000 |
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 26f77fdb217e..9888b62f37af 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/arm/plat-pxa/gpio.c | 3 | * linux/arch/arm/plat-pxa/gpio.c |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Author: Nicolas Pitre | 7 | * Author: Nicolas Pitre |
7 | * Created: Jun 15, 2001 | 8 | * Created: Jun 15, 2001 |
8 | * Copyright: MontaVista Software Inc. | 9 | * Copyright: MontaVista Software Inc. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
15 | #include <linux/clk.h> | 12 | #include <linux/clk.h> |
diff --git a/drivers/gpio/gpio-sa1100.c b/drivers/gpio/gpio-sa1100.c index 986eb3b231ac..46b7cf23fb0f 100644 --- a/drivers/gpio/gpio-sa1100.c +++ b/drivers/gpio/gpio-sa1100.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/arm/mach-sa1100/gpio.c | 3 | * linux/arch/arm/mach-sa1100/gpio.c |
3 | * | 4 | * |
4 | * Generic SA-1100 GPIO handling | 5 | * Generic SA-1100 GPIO handling |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | #include <linux/gpio/driver.h> | 7 | #include <linux/gpio/driver.h> |
11 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 8a319d56c5de..24c478392394 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify it | ||
3 | * under the terms of the GNU General Public License version 2 as published | ||
4 | * by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2012 John Crispin <john@phrozen.org> | 4 | * Copyright (C) 2012 John Crispin <john@phrozen.org> |
7 | * | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/slab.h> | 7 | #include <linux/slab.h> |
diff --git a/drivers/gpio/gpio-ucb1400.c b/drivers/gpio/gpio-ucb1400.c index 5dbe31bf6699..d2a8644864c3 100644 --- a/drivers/gpio/gpio-ucb1400.c +++ b/drivers/gpio/gpio-ucb1400.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Philips UCB1400 GPIO driver | 3 | * Philips UCB1400 GPIO driver |
3 | * | 4 | * |
4 | * Author: Marek Vasut <marek.vasut@gmail.com> | 5 | * Author: Marek Vasut <marek.vasut@gmail.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 57432397e5e5..f6f8a541348f 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO controller in LSI ZEVIO SoCs. | 3 | * GPIO controller in LSI ZEVIO SoCs. |
3 | * | 4 | * |
4 | * Author: Fabian Vogt <fabian@ritter-vogt.de> | 5 | * Author: Fabian Vogt <fabian@ritter-vogt.de> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/spinlock.h> | 8 | #include <linux/spinlock.h> |
diff --git a/drivers/gpio/gpio-zx.c b/drivers/gpio/gpio-zx.c index fb927559aefa..8637adb6bc20 100644 --- a/drivers/gpio/gpio-zx.c +++ b/drivers/gpio/gpio-zx.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ZTE ZX296702 GPIO driver | 3 | * ZTE ZX296702 GPIO driver |
3 | * | 4 | * |
4 | * Author: Jun Nie <jun.nie@linaro.org> | 5 | * Author: Jun Nie <jun.nie@linaro.org> |
5 | * | 6 | * |
6 | * Copyright (C) 2015 Linaro Ltd. | 7 | * Copyright (C) 2015 Linaro Ltd. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
13 | #include <linux/device.h> | 10 | #include <linux/device.h> |