diff options
Diffstat (limited to 'drivers/input')
137 files changed, 137 insertions, 593 deletions
diff --git a/drivers/input/apm-power.c b/drivers/input/apm-power.c index 650177a3c858..70a9e1dfba33 100644 --- a/drivers/input/apm-power.c +++ b/drivers/input/apm-power.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input Power Event -> APM Bridge | 3 | * Input Power Event -> APM Bridge |
3 | * | 4 | * |
4 | * Copyright (c) 2007 Richard Purdie | 5 | * Copyright (c) 2007 Richard Purdie |
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 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index d1e25aba8212..867c2cfd0038 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Event char devices, giving access to raw input device events. | 3 | * Event char devices, giving access to raw input device events. |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2002 Vojtech Pavlik | 5 | * Copyright (c) 1999-2002 Vojtech Pavlik |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c index 73862a836062..61fa7e724172 100644 --- a/drivers/input/gameport/gameport.c +++ b/drivers/input/gameport/gameport.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Generic gameport layer | 3 | * Generic gameport layer |
3 | * | 4 | * |
@@ -5,11 +6,6 @@ | |||
5 | * Copyright (c) 2005 Dmitry Torokhov | 6 | * Copyright (c) 2005 Dmitry Torokhov |
6 | */ | 7 | */ |
7 | 8 | ||
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 by | ||
11 | * the Free Software Foundation. | ||
12 | */ | ||
13 | 9 | ||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
15 | 11 | ||
diff --git a/drivers/input/input-compat.c b/drivers/input/input-compat.c index fda8d6d2a268..2ccd3eedbd67 100644 --- a/drivers/input/input-compat.c +++ b/drivers/input/input-compat.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * 32bit compatibility wrappers for the input subsystem. | 3 | * 32bit compatibility wrappers for the input subsystem. |
3 | * | 4 | * |
4 | * Very heavily based on evdev.c - Copyright (c) 1999-2002 Vojtech Pavlik | 5 | * Very heavily based on evdev.c - Copyright (c) 1999-2002 Vojtech Pavlik |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/export.h> | 8 | #include <linux/export.h> |
diff --git a/drivers/input/input-compat.h b/drivers/input/input-compat.h index 08cd755e73fd..3b7bb12b023b 100644 --- a/drivers/input/input-compat.h +++ b/drivers/input/input-compat.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _INPUT_COMPAT_H | 2 | #ifndef _INPUT_COMPAT_H |
2 | #define _INPUT_COMPAT_H | 3 | #define _INPUT_COMPAT_H |
3 | 4 | ||
@@ -5,10 +6,6 @@ | |||
5 | * 32bit compatibility wrappers for the input subsystem. | 6 | * 32bit compatibility wrappers for the input subsystem. |
6 | * | 7 | * |
7 | * Very heavily based on evdev.c - Copyright (c) 1999-2002 Vojtech Pavlik | 8 | * Very heavily based on evdev.c - Copyright (c) 1999-2002 Vojtech Pavlik |
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 by | ||
11 | * the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/compiler.h> | 11 | #include <linux/compiler.h> |
diff --git a/drivers/input/input-leds.c b/drivers/input/input-leds.c index 99cc784e1264..0b11990ade46 100644 --- a/drivers/input/input-leds.c +++ b/drivers/input/input-leds.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED support for the input layer | 3 | * LED support for the input layer |
3 | * | 4 | * |
4 | * Copyright 2010-2015 Samuel Thibault <samuel.thibault@ens-lyon.org> | 5 | * Copyright 2010-2015 Samuel Thibault <samuel.thibault@ens-lyon.org> |
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/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index 6c7326c93721..a81e14148407 100644 --- a/drivers/input/input-mt.c +++ b/drivers/input/input-mt.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input Multitouch Library | 3 | * Input Multitouch Library |
3 | * | 4 | * |
4 | * Copyright (c) 2008-2010 Henrik Rydberg | 5 | * Copyright (c) 2008-2010 Henrik Rydberg |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/input/mt.h> | 8 | #include <linux/input/mt.h> |
diff --git a/drivers/input/input-polldev.c b/drivers/input/input-polldev.c index 78df5a74822e..9bf1c9aeb4c4 100644 --- a/drivers/input/input-polldev.c +++ b/drivers/input/input-polldev.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Generic implementation of a polled input device | 3 | * Generic implementation of a polled input device |
3 | 4 | ||
4 | * Copyright (c) 2007 Dmitry Torokhov | 5 | * Copyright (c) 2007 Dmitry Torokhov |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/input/input.c b/drivers/input/input.c index 3304aaaffe87..7f3c5fcb9ed6 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * The input core | 3 | * The input core |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2002 Vojtech Pavlik | 5 | * Copyright (c) 1999-2002 Vojtech Pavlik |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | #define pr_fmt(fmt) KBUILD_BASENAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_BASENAME ": " fmt |
14 | 10 | ||
diff --git a/drivers/input/joystick/walkera0701.c b/drivers/input/joystick/walkera0701.c index dce313dc260a..56abc8c6c763 100644 --- a/drivers/input/joystick/walkera0701.c +++ b/drivers/input/joystick/walkera0701.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Parallel port to Walkera WK-0701 TX joystick | 3 | * Parallel port to Walkera WK-0701 TX joystick |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * More about driver: <file:Documentation/input/devices/walkera0701.rst> | 7 | * More about driver: <file:Documentation/input/devices/walkera0701.rst> |
7 | */ | 8 | */ |
8 | 9 | ||
9 | /* | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | ||
14 | 10 | ||
15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
16 | 12 | ||
diff --git a/drivers/input/keyboard/adc-keys.c b/drivers/input/keyboard/adc-keys.c index c255af21e71a..9885fd56f5f9 100644 --- a/drivers/input/keyboard/adc-keys.c +++ b/drivers/input/keyboard/adc-keys.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input driver for resistor ladder connected on ADC | 3 | * Input driver for resistor ladder connected on ADC |
3 | * | 4 | * |
4 | * Copyright (c) 2016 Alexandre Belloni | 5 | * Copyright (c) 2016 Alexandre Belloni |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/err.h> | 8 | #include <linux/err.h> |
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 3ad93e3e2f4c..7e3eae54c192 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * AT and PS/2 keyboard driver | 3 | * AT and PS/2 keyboard driver |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2002 Vojtech Pavlik | 5 | * Copyright (c) 1999-2002 Vojtech Pavlik |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | /* | 9 | /* |
14 | * This driver can handle standard AT keyboards and PS/2 keyboards in | 10 | * This driver can handle standard AT keyboards and PS/2 keyboards in |
diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c index 73686c2460ce..688e2bef682e 100644 --- a/drivers/input/keyboard/cap11xx.c +++ b/drivers/input/keyboard/cap11xx.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input driver for Microchip CAP11xx based capacitive touch sensors | 3 | * Input driver for Microchip CAP11xx based capacitive touch sensors |
3 | * | 4 | * |
4 | * (c) 2014 Daniel Mack <linux@zonque.org> | 5 | * (c) 2014 Daniel Mack <linux@zonque.org> |
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/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index 575dac52f7b4..7c70492d9d6b 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for the Cirrus EP93xx matrix keypad controller. | 3 | * Driver for the Cirrus EP93xx matrix keypad controller. |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on the pxa27x matrix keypad controller by Rodolfo Giometti. | 7 | * Based on the pxa27x matrix keypad controller by Rodolfo Giometti. |
7 | * | 8 | * |
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 | * | ||
12 | * NOTE: | 9 | * NOTE: |
13 | * | 10 | * |
14 | * The 3-key reset is triggered by pressing the 3 keys in | 11 | * The 3-key reset is triggered by pressing the 3 keys in |
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 6cd199e8a370..a23c23979a2e 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for keys on GPIO lines capable of generating interrupts. | 3 | * Driver for keys on GPIO lines capable of generating interrupts. |
3 | * | 4 | * |
4 | * Copyright 2005 Phil Blundell | 5 | * Copyright 2005 Phil Blundell |
5 | * Copyright 2010, 2011 David Jander <david@protonic.nl> | 6 | * Copyright 2010, 2011 David Jander <david@protonic.nl> |
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/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index edc7262103b9..1eafe6b848ba 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for buttons on GPIO lines not capable of generating interrupts | 3 | * Driver for buttons on GPIO lines not capable of generating interrupts |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * | 10 | * |
10 | * also was based on: /drivers/input/keyboard/gpio_keys.c | 11 | * also was based on: /drivers/input/keyboard/gpio_keys.c |
11 | * Copyright 2005 Phil Blundell | 12 | * Copyright 2005 Phil Blundell |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/drivers/input/keyboard/ipaq-micro-keys.c b/drivers/input/keyboard/ipaq-micro-keys.c index 602900d1f937..e3f9e445e880 100644 --- a/drivers/input/keyboard/ipaq-micro-keys.c +++ b/drivers/input/keyboard/ipaq-micro-keys.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License version 2 as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * h3600 atmel micro companion support, key subdevice | 4 | * h3600 atmel micro companion support, key subdevice |
7 | * based on previous kernel 2.4 version | 5 | * based on previous kernel 2.4 version |
8 | * Author : Alessandro Gardich <gremlin@gremlin.it> | 6 | * Author : Alessandro Gardich <gremlin@gremlin.it> |
9 | * Author : Linus Walleij <linus.walleij@linaro.org> | 7 | * Author : Linus Walleij <linus.walleij@linaro.org> |
10 | * | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/init.h> | 10 | #include <linux/init.h> |
diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyboard/jornada680_kbd.c index 0116ac99f44c..4232aa876d2e 100644 --- a/drivers/input/keyboard/jornada680_kbd.c +++ b/drivers/input/keyboard/jornada680_kbd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/input/keyboard/jornada680_kbd.c | 3 | * drivers/input/keyboard/jornada680_kbd.c |
3 | * | 4 | * |
@@ -10,10 +11,6 @@ | |||
10 | * Split from drivers/input/keyboard/hp600_keyb.c | 11 | * Split from drivers/input/keyboard/hp600_keyb.c |
11 | * Copyright (C) 2000 Yaegashi Takeshi (hp6xx kbd scan routine and translation table) | 12 | * Copyright (C) 2000 Yaegashi Takeshi (hp6xx kbd scan routine and translation table) |
12 | * Copyright (C) 2000 Niibe Yutaka (HP620 Keyb translation table) | 13 | * Copyright (C) 2000 Niibe Yutaka (HP620 Keyb translation table) |
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify it | ||
15 | * under the terms of the GNU General Public License version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #include <linux/device.h> | 16 | #include <linux/device.h> |
diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c index 1277c39f9482..cd9af5221c3d 100644 --- a/drivers/input/keyboard/jornada720_kbd.c +++ b/drivers/input/keyboard/jornada720_kbd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/input/keyboard/jornada720_kbd.c | 3 | * drivers/input/keyboard/jornada720_kbd.c |
3 | * | 4 | * |
@@ -9,11 +10,6 @@ | |||
9 | Filip Zyzniewsk <Filip.Zyzniewski@tefnet.plX | 10 | Filip Zyzniewsk <Filip.Zyzniewski@tefnet.plX |
10 | * based on (C) 2004 jornada 720 kbd driver by | 11 | * based on (C) 2004 jornada 720 kbd driver by |
11 | Alex Lange <chicken@handhelds.org> | 12 | Alex Lange <chicken@handhelds.org> |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | * | ||
17 | */ | 13 | */ |
18 | #include <linux/device.h> | 14 | #include <linux/device.h> |
19 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index 3d1cb7bf5e35..30924b57058f 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO driven matrix keyboard driver | 3 | * GPIO driven matrix keyboard driver |
3 | * | 4 | * |
4 | * Copyright (c) 2008 Marek Vasut <marek.vasut@gmail.com> | 5 | * Copyright (c) 2008 Marek Vasut <marek.vasut@gmail.com> |
5 | * | 6 | * |
6 | * Based on corgikbd.c | 7 | * Based on corgikbd.c |
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 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/types.h> | 10 | #include <linux/types.h> |
diff --git a/drivers/input/keyboard/max7359_keypad.c b/drivers/input/keyboard/max7359_keypad.c index cd44d22d8770..62ce93462955 100644 --- a/drivers/input/keyboard/max7359_keypad.c +++ b/drivers/input/keyboard/max7359_keypad.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * max7359_keypad.c - MAX7359 Key Switch Controller Driver | 3 | * max7359_keypad.c - MAX7359 Key Switch Controller Driver |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Based on pxa27x_keypad.c | 8 | * Based on pxa27x_keypad.c |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456 | 10 | * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456 |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/input/keyboard/mpr121_touchkey.c b/drivers/input/keyboard/mpr121_touchkey.c index 884a74d8a7ed..e9ceaa16b46a 100644 --- a/drivers/input/keyboard/mpr121_touchkey.c +++ b/drivers/input/keyboard/mpr121_touchkey.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Touchkey driver for Freescale MPR121 Controllor | 3 | * Touchkey driver for Freescale MPR121 Controllor |
3 | * | 4 | * |
@@ -5,11 +6,6 @@ | |||
5 | * Author: Zhang Jiejing <jiejing.zhang@freescale.com> | 6 | * Author: Zhang Jiejing <jiejing.zhang@freescale.com> |
6 | * | 7 | * |
7 | * Based on mcs_touchkey.c | 8 | * Based on mcs_touchkey.c |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | */ | 9 | */ |
14 | 10 | ||
15 | #include <linux/bitops.h> | 11 | #include <linux/bitops.h> |
diff --git a/drivers/input/keyboard/nspire-keypad.c b/drivers/input/keyboard/nspire-keypad.c index c7f26fa3034c..57eac91ecd76 100644 --- a/drivers/input/keyboard/nspire-keypad.c +++ b/drivers/input/keyboard/nspire-keypad.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> | 3 | * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> |
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/input/matrix_keypad.h> | 6 | #include <linux/input/matrix_keypad.h> |
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c index d0bdaeadf86d..39023664d2f2 100644 --- a/drivers/input/keyboard/pxa27x_keypad.c +++ b/drivers/input/keyboard/pxa27x_keypad.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/drivers/input/keyboard/pxa27x_keypad.c | 3 | * linux/drivers/input/keyboard/pxa27x_keypad.c |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * Based on a previous implementations by Kevin O'Connor | 10 | * Based on a previous implementations by Kevin O'Connor |
10 | * <kevin_at_koconnor.net> and Alex Osborne <bobofdoom@gmail.com> and | 11 | * <kevin_at_koconnor.net> and Alex Osborne <bobofdoom@gmail.com> and |
11 | * on some suggestions by Nicolas Pitre <nico@fluxnic.net>. | 12 | * on some suggestions by Nicolas Pitre <nico@fluxnic.net>. |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | 15 | ||
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c index 1cf5211fddaa..585e7765cbf0 100644 --- a/drivers/input/keyboard/pxa930_rotary.c +++ b/drivers/input/keyboard/pxa930_rotary.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for the enhanced rotary controller on pxa930 and pxa935 | 3 | * Driver for the enhanced rotary controller on pxa930 and pxa935 |
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/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/drivers/input/keyboard/sh_keysc.c b/drivers/input/keyboard/sh_keysc.c index 7abf03b4cc9c..08ba41a81f14 100644 --- a/drivers/input/keyboard/sh_keysc.c +++ b/drivers/input/keyboard/sh_keysc.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * SuperH KEYSC Keypad Driver | 3 | * SuperH KEYSC Keypad Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Magnus Damm | 5 | * Copyright (C) 2008 Magnus Damm |
5 | * | 6 | * |
6 | * Based on gpio_keys.c, Copyright 2005 Phil Blundell | 7 | * Based on gpio_keys.c, Copyright 2005 Phil Blundell |
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 | 9 | ||
13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/input/keyboard/st-keyscan.c b/drivers/input/keyboard/st-keyscan.c index 3b85631fde91..f097128b93fe 100644 --- a/drivers/input/keyboard/st-keyscan.c +++ b/drivers/input/keyboard/st-keyscan.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * STMicroelectronics Key Scanning driver | 3 | * STMicroelectronics Key Scanning driver |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Author: Stuart Menefy <stuart.menefy@st.com> | 6 | * Author: Stuart Menefy <stuart.menefy@st.com> |
6 | * | 7 | * |
7 | * Based on sh_keysc.c, copyright 2008 Magnus Damm | 8 | * Based on sh_keysc.c, copyright 2008 Magnus Damm |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c index cdeef180aead..2a14769de637 100644 --- a/drivers/input/keyboard/tca6416-keypad.c +++ b/drivers/input/keyboard/tca6416-keypad.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for keys on TCA6416 I2C IO expander | 3 | * Driver for keys on TCA6416 I2C IO expander |
3 | * | 4 | * |
4 | * Copyright (C) 2010 Texas Instruments | 5 | * Copyright (C) 2010 Texas Instruments |
5 | * | 6 | * |
6 | * Author : Sriramakrishnan.A.G. <srk@ti.com> | 7 | * Author : Sriramakrishnan.A.G. <srk@ti.com> |
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 | 9 | ||
13 | #include <linux/types.h> | 10 | #include <linux/types.h> |
diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c index d4455f3a5cf1..14b55bacdd0f 100644 --- a/drivers/input/keyboard/tm2-touchkey.c +++ b/drivers/input/keyboard/tm2-touchkey.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TM2 touchkey device driver | 3 | * TM2 touchkey device driver |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Author: Beomho Seo <beomho.seo@samsung.com> | 8 | * Author: Beomho Seo <beomho.seo@samsung.com> |
8 | * Author: Jaechul Lee <jcsing.lee@samsung.com> | 9 | * Author: Jaechul Lee <jcsing.lee@samsung.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/bitops.h> | 12 | #include <linux/bitops.h> |
diff --git a/drivers/input/misc/apanel.c b/drivers/input/misc/apanel.c index c1e66f45d552..53ec40d1b90d 100644 --- a/drivers/input/misc/apanel.c +++ b/drivers/input/misc/apanel.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Fujitsu Lifebook Application Panel button drive | 3 | * Fujitsu Lifebook Application Panel button drive |
3 | * | 4 | * |
4 | * Copyright (C) 2007 Stephen Hemminger <shemminger@linux-foundation.org> | 5 | * Copyright (C) 2007 Stephen Hemminger <shemminger@linux-foundation.org> |
5 | * Copyright (C) 2001-2003 Jochen Eisinger <jochen@penguin-breeder.org> | 6 | * Copyright (C) 2001-2003 Jochen Eisinger <jochen@penguin-breeder.org> |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | * | ||
11 | * Many Fujitsu Lifebook laptops have a small panel of buttons that are | 8 | * Many Fujitsu Lifebook laptops have a small panel of buttons that are |
12 | * accessible via the i2c/smbus interface. This driver polls those | 9 | * accessible via the i2c/smbus interface. This driver polls those |
13 | * buttons and generates input events. | 10 | * buttons and generates input events. |
diff --git a/drivers/input/misc/arizona-haptics.c b/drivers/input/misc/arizona-haptics.c index 21dc1b8b2a4a..5fa1c9438a85 100644 --- a/drivers/input/misc/arizona-haptics.c +++ b/drivers/input/misc/arizona-haptics.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Arizona haptics driver | 3 | * Arizona haptics driver |
3 | * | 4 | * |
4 | * Copyright 2012 Wolfson Microelectronics plc | 5 | * Copyright 2012 Wolfson Microelectronics plc |
5 | * | 6 | * |
6 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
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 | 9 | ||
13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/drivers/input/misc/ati_remote2.c b/drivers/input/misc/ati_remote2.c index d8fd58fdf050..305f0160506a 100644 --- a/drivers/input/misc/ati_remote2.c +++ b/drivers/input/misc/ati_remote2.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ati_remote2 - ATI/Philips USB RF remote driver | 3 | * ati_remote2 - ATI/Philips USB RF remote driver |
3 | * | 4 | * |
4 | * Copyright (C) 2005-2008 Ville Syrjala <syrjala@sci.fi> | 5 | * Copyright (C) 2005-2008 Ville Syrjala <syrjala@sci.fi> |
5 | * Copyright (C) 2007-2008 Peter Stokes <linux@dadeos.co.uk> | 6 | * Copyright (C) 2007-2008 Peter Stokes <linux@dadeos.co.uk> |
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 | ||
9 | * as published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/usb/input.h> | 9 | #include <linux/usb/input.h> |
diff --git a/drivers/input/misc/gp2ap002a00f.c b/drivers/input/misc/gp2ap002a00f.c index c6a29e57b5e4..90abda8eea67 100644 --- a/drivers/input/misc/gp2ap002a00f.c +++ b/drivers/input/misc/gp2ap002a00f.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2011 Sony Ericsson Mobile Communications Inc. | 3 | * Copyright (C) 2011 Sony Ericsson Mobile Communications Inc. |
3 | * | 4 | * |
4 | * Author: Courtney Cavin <courtney.cavin@sonyericsson.com> | 5 | * Author: Courtney Cavin <courtney.cavin@sonyericsson.com> |
5 | * Prepared for up-stream by: Oskar Andero <oskar.andero@sonyericsson.com> | 6 | * Prepared for up-stream by: Oskar Andero <oskar.andero@sonyericsson.com> |
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/i2c.h> | 9 | #include <linux/i2c.h> |
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index 74cf3b612f05..d8dbfc030d0f 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for IMS Passenger Control Unit Devices | 3 | * Driver for IMS Passenger Control Unit Devices |
3 | * | 4 | * |
4 | * Copyright (C) 2013 The IMS Company | 5 | * Copyright (C) 2013 The IMS Company |
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 | ||
8 | * as published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/completion.h> | 8 | #include <linux/completion.h> |
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c index 4776273fa10b..794ecc9a552d 100644 --- a/drivers/input/misc/ixp4xx-beeper.c +++ b/drivers/input/misc/ixp4xx-beeper.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Generic IXP4xx beeper driver | 3 | * Generic IXP4xx beeper driver |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * | 9 | * |
9 | * Author: Alessandro Zummo <a.zummo@towertech.it> | 10 | * Author: Alessandro Zummo <a.zummo@towertech.it> |
10 | * Maintainers: http://www.nslu2-linux.org/ | 11 | * Maintainers: http://www.nslu2-linux.org/ |
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | * | ||
16 | */ | 12 | */ |
17 | 13 | ||
18 | #include <linux/module.h> | 14 | #include <linux/module.h> |
diff --git a/drivers/input/misc/m68kspkr.c b/drivers/input/misc/m68kspkr.c index 312d63623038..25fcf1467151 100644 --- a/drivers/input/misc/m68kspkr.c +++ b/drivers/input/misc/m68kspkr.c | |||
@@ -1,17 +1,12 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * m68k beeper driver for Linux | 3 | * m68k beeper driver for Linux |
3 | * | 4 | * |
4 | * Copyright (c) 2002 Richard Zidlicky | 5 | * Copyright (c) 2002 Richard Zidlicky |
5 | * Copyright (c) 2002 Vojtech Pavlik | 6 | * Copyright (c) 2002 Vojtech Pavlik |
6 | * Copyright (c) 1992 Orest Zborowski | 7 | * Copyright (c) 1992 Orest Zborowski |
7 | * | ||
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published by | ||
13 | * the Free Software Foundation | ||
14 | */ | ||
15 | 10 | ||
16 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
17 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/input/misc/pcap_keys.c b/drivers/input/misc/pcap_keys.c index 3b81daf67726..b5a53636d7e2 100644 --- a/drivers/input/misc/pcap_keys.c +++ b/drivers/input/misc/pcap_keys.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input driver for PCAP events: | 3 | * Input driver for PCAP events: |
3 | * * Power key | 4 | * * Power key |
4 | * * Headphone button | 5 | * * Headphone button |
5 | * | 6 | * |
6 | * Copyright (c) 2008,2009 Ilya Petrov <ilya.muromec@gmail.com> | 7 | * Copyright (c) 2008,2009 Ilya Petrov <ilya.muromec@gmail.com> |
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 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c index 56ddba21de84..e5e0d8ba80e1 100644 --- a/drivers/input/misc/pcspkr.c +++ b/drivers/input/misc/pcspkr.c | |||
@@ -1,16 +1,11 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * PC Speaker beeper driver for Linux | 3 | * PC Speaker beeper driver for Linux |
3 | * | 4 | * |
4 | * Copyright (c) 2002 Vojtech Pavlik | 5 | * Copyright (c) 2002 Vojtech Pavlik |
5 | * Copyright (c) 1992 Orest Zborowski | 6 | * Copyright (c) 1992 Orest Zborowski |
6 | * | ||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /* | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation | ||
13 | */ | ||
14 | 9 | ||
15 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
16 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/input/misc/regulator-haptic.c b/drivers/input/misc/regulator-haptic.c index a1db1e5040dc..a661e77545c5 100644 --- a/drivers/input/misc/regulator-haptic.c +++ b/drivers/input/misc/regulator-haptic.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Regulator haptic driver | 3 | * Regulator haptic driver |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | 5 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
5 | * Author: Jaewon Kim <jaewon02.kim@samsung.com> | 6 | * Author: Jaewon Kim <jaewon02.kim@samsung.com> |
6 | * Author: Hyunhee Kim <hyunhee.kim@samsung.com> | 7 | * Author: Hyunhee Kim <hyunhee.kim@samsung.com> |
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 | 9 | ||
13 | #include <linux/input.h> | 10 | #include <linux/input.h> |
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index d748897bf5e9..6d613f2a017c 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * rotary_encoder.c | 3 | * rotary_encoder.c |
3 | * | 4 | * |
@@ -8,10 +9,6 @@ | |||
8 | * | 9 | * |
9 | * A generic driver for rotary encoders connected to GPIO lines. | 10 | * A generic driver for rotary encoders connected to GPIO lines. |
10 | * See file:Documentation/input/devices/rotary-encoder.rst for more information | 11 | * See file:Documentation/input/devices/rotary-encoder.rst for more information |
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | */ | 12 | */ |
16 | 13 | ||
17 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 0a6f7ca883e7..8996323ce8d9 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ALPS touchpad PS/2 mouse driver | 3 | * ALPS touchpad PS/2 mouse driver |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * | 10 | * |
10 | * ALPS detection, tap switching and status querying info is taken from | 11 | * ALPS detection, tap switching and status querying info is taken from |
11 | * tpconfig utility (by C. Scott Ananian and Bruce Kall). | 12 | * tpconfig utility (by C. Scott Ananian and Bruce Kall). |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify it | ||
14 | * under the terms of the GNU General Public License version 2 as published by | ||
15 | * the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
diff --git a/drivers/input/mouse/alps.h b/drivers/input/mouse/alps.h index 79b6d69d1486..f4bab629739c 100644 --- a/drivers/input/mouse/alps.h +++ b/drivers/input/mouse/alps.h | |||
@@ -1,12 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * ALPS touchpad PS/2 mouse driver | 3 | * ALPS touchpad PS/2 mouse driver |
3 | * | 4 | * |
4 | * Copyright (c) 2003 Peter Osterlund <petero2@telia.com> | 5 | * Copyright (c) 2003 Peter Osterlund <petero2@telia.com> |
5 | * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz> | 6 | * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #ifndef _ALPS_H | 9 | #ifndef _ALPS_H |
diff --git a/drivers/input/mouse/amimouse.c b/drivers/input/mouse/amimouse.c index a33437c480e3..a50e50354832 100644 --- a/drivers/input/mouse/amimouse.c +++ b/drivers/input/mouse/amimouse.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Amiga mouse driver for Linux/m68k | 3 | * Amiga mouse driver for Linux/m68k |
3 | * | 4 | * |
@@ -11,11 +12,6 @@ | |||
11 | * Russell King | 12 | * Russell King |
12 | */ | 13 | */ |
13 | 14 | ||
14 | /* | ||
15 | * This program is free software; you can redistribute it and/or modify it | ||
16 | * under the terms of the GNU General Public License version 2 as published by | ||
17 | * the Free Software Foundation | ||
18 | */ | ||
19 | 15 | ||
20 | #include <linux/module.h> | 16 | #include <linux/module.h> |
21 | #include <linux/init.h> | 17 | #include <linux/init.h> |
diff --git a/drivers/input/mouse/atarimouse.c b/drivers/input/mouse/atarimouse.c index 96f2f51604bd..b1219cc4d9a2 100644 --- a/drivers/input/mouse/atarimouse.c +++ b/drivers/input/mouse/atarimouse.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Atari mouse driver for Linux/m68k | 3 | * Atari mouse driver for Linux/m68k |
3 | * | 4 | * |
@@ -7,7 +8,6 @@ | |||
7 | * Amiga mouse driver for Linux/m68k | 8 | * Amiga mouse driver for Linux/m68k |
8 | * | 9 | * |
9 | * Copyright (c) 2000-2002 Vojtech Pavlik | 10 | * Copyright (c) 2000-2002 Vojtech Pavlik |
10 | * | ||
11 | */ | 11 | */ |
12 | /* | 12 | /* |
13 | * The low level init and interrupt stuff is handled in arch/mm68k/atari/atakeyb.c | 13 | * The low level init and interrupt stuff is handled in arch/mm68k/atari/atakeyb.c |
@@ -34,11 +34,6 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | 36 | ||
37 | /* | ||
38 | * This program is free software; you can redistribute it and/or modify it | ||
39 | * under the terms of the GNU General Public License version 2 as published by | ||
40 | * the Free Software Foundation | ||
41 | */ | ||
42 | 37 | ||
43 | #include <linux/module.h> | 38 | #include <linux/module.h> |
44 | #include <linux/init.h> | 39 | #include <linux/init.h> |
diff --git a/drivers/input/mouse/byd.c b/drivers/input/mouse/byd.c index f2aabf7f906f..6e0c5f5a2713 100644 --- a/drivers/input/mouse/byd.c +++ b/drivers/input/mouse/byd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * BYD TouchPad PS/2 mouse driver | 3 | * BYD TouchPad PS/2 mouse driver |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright (C) 2015 Tai Chi Minh Ralph Eastwood | 7 | * Copyright (C) 2015 Tai Chi Minh Ralph Eastwood |
7 | * Copyright (C) 2015 Martin Wimpress | 8 | * Copyright (C) 2015 Martin Wimpress |
8 | * Copyright (C) 2015 Jay Kuri | 9 | * Copyright (C) 2015 Jay Kuri |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/delay.h> | 12 | #include <linux/delay.h> |
diff --git a/drivers/input/mouse/cypress_ps2.c b/drivers/input/mouse/cypress_ps2.c index 21bad3e75fee..5f868009d35b 100644 --- a/drivers/input/mouse/cypress_ps2.c +++ b/drivers/input/mouse/cypress_ps2.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Cypress Trackpad PS/2 mouse driver | 3 | * Cypress Trackpad PS/2 mouse driver |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * Additional contributors include: | 10 | * Additional contributors include: |
10 | * Kamal Mostafa <kamal@canonical.com> | 11 | * Kamal Mostafa <kamal@canonical.com> |
11 | * Kyle Fazzari <git@status.e4ward.com> | 12 | * Kyle Fazzari <git@status.e4ward.com> |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify it | ||
14 | * under the terms of the GNU General Public License version 2 as published by | ||
15 | * the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/drivers/input/mouse/elan_i2c.h b/drivers/input/mouse/elan_i2c.h index 243e0fa6e3e3..a9074ac9364f 100644 --- a/drivers/input/mouse/elan_i2c.h +++ b/drivers/input/mouse/elan_i2c.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Elan I2C/SMBus Touchpad driver | 3 | * Elan I2C/SMBus Touchpad driver |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. | 10 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. |
10 | * copyright (c) 2011-2012 Google, Inc. | 11 | * copyright (c) 2011-2012 Google, Inc. |
11 | * | 12 | * |
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published | ||
14 | * by the Free Software Foundation. | ||
15 | * | ||
16 | * Trademarks are the property of their respective owners. | 13 | * Trademarks are the property of their respective owners. |
17 | */ | 14 | */ |
18 | 15 | ||
diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index f9525d6f0bfe..3290cbdc7ffc 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Elan I2C/SMBus Touchpad driver | 3 | * Elan I2C/SMBus Touchpad driver |
3 | * | 4 | * |
@@ -11,10 +12,6 @@ | |||
11 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. | 12 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. |
12 | * copyright (c) 2011-2012 Google, Inc. | 13 | * copyright (c) 2011-2012 Google, Inc. |
13 | * | 14 | * |
14 | * This program is free software; you can redistribute it and/or modify it | ||
15 | * under the terms of the GNU General Public License version 2 as published | ||
16 | * by the Free Software Foundation. | ||
17 | * | ||
18 | * Trademarks are the property of their respective owners. | 15 | * Trademarks are the property of their respective owners. |
19 | */ | 16 | */ |
20 | 17 | ||
diff --git a/drivers/input/mouse/elan_i2c_i2c.c b/drivers/input/mouse/elan_i2c_i2c.c index e19eb60b3d2f..058b35b1f9a9 100644 --- a/drivers/input/mouse/elan_i2c_i2c.c +++ b/drivers/input/mouse/elan_i2c_i2c.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Elan I2C/SMBus Touchpad driver - I2C interface | 3 | * Elan I2C/SMBus Touchpad driver - I2C interface |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. | 10 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. |
10 | * copyright (c) 2011-2012 Google, Inc. | 11 | * copyright (c) 2011-2012 Google, Inc. |
11 | * | 12 | * |
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published | ||
14 | * by the Free Software Foundation. | ||
15 | * | ||
16 | * Trademarks are the property of their respective owners. | 13 | * Trademarks are the property of their respective owners. |
17 | */ | 14 | */ |
18 | 15 | ||
diff --git a/drivers/input/mouse/elan_i2c_smbus.c b/drivers/input/mouse/elan_i2c_smbus.c index 88e315d2cfd3..8c3185d54c73 100644 --- a/drivers/input/mouse/elan_i2c_smbus.c +++ b/drivers/input/mouse/elan_i2c_smbus.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Elan I2C/SMBus Touchpad driver - SMBus interface | 3 | * Elan I2C/SMBus Touchpad driver - SMBus interface |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. | 10 | * copyright (c) 2011-2012 Cypress Semiconductor, Inc. |
10 | * copyright (c) 2011-2012 Google, Inc. | 11 | * copyright (c) 2011-2012 Google, Inc. |
11 | * | 12 | * |
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published | ||
14 | * by the Free Software Foundation. | ||
15 | * | ||
16 | * Trademarks are the property of their respective owners. | 13 | * Trademarks are the property of their respective owners. |
17 | */ | 14 | */ |
18 | 15 | ||
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index a7f8b1614559..7187d31e61cc 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Elantech Touchpad driver (v6) | 3 | * Elantech Touchpad driver (v6) |
3 | * | 4 | * |
4 | * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> | 5 | * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published | ||
8 | * by the Free Software Foundation. | ||
9 | * | ||
10 | * Trademarks are the property of their respective owners. | 7 | * Trademarks are the property of their respective owners. |
11 | */ | 8 | */ |
12 | 9 | ||
diff --git a/drivers/input/mouse/elantech.h b/drivers/input/mouse/elantech.h index 119727085a60..12ba5af93145 100644 --- a/drivers/input/mouse/elantech.h +++ b/drivers/input/mouse/elantech.h | |||
@@ -1,12 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Elantech Touchpad driver (v6) | 3 | * Elantech Touchpad driver (v6) |
3 | * | 4 | * |
4 | * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> | 5 | * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published | ||
8 | * by the Free Software Foundation. | ||
9 | * | ||
10 | * Trademarks are the property of their respective owners. | 7 | * Trademarks are the property of their respective owners. |
11 | */ | 8 | */ |
12 | 9 | ||
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c index a26d8be6f795..461436f6f087 100644 --- a/drivers/input/mouse/gpio_mouse.c +++ b/drivers/input/mouse/gpio_mouse.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for simulating a mouse on GPIO lines. | 3 | * Driver for simulating a mouse on GPIO lines. |
3 | * | 4 | * |
4 | * Copyright (C) 2007 Atmel Corporation | 5 | * Copyright (C) 2007 Atmel Corporation |
5 | * Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org> | 6 | * Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org> |
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/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/input/mouse/hgpk.c b/drivers/input/mouse/hgpk.c index 015509e0b140..72a083f3fc4a 100644 --- a/drivers/input/mouse/hgpk.c +++ b/drivers/input/mouse/hgpk.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * OLPC HGPK (XO-1) touchpad PS/2 mouse driver | 3 | * OLPC HGPK (XO-1) touchpad PS/2 mouse driver |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> | 13 | * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> |
13 | * Copyright (c) 2004 Dmitry Torokhov <dtor@mail.ru> | 14 | * Copyright (c) 2004 Dmitry Torokhov <dtor@mail.ru> |
14 | * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz> | 15 | * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz> |
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License version 2 as | ||
18 | * published by the Free Software Foundation. | ||
19 | */ | 16 | */ |
20 | 17 | ||
21 | /* | 18 | /* |
diff --git a/drivers/input/mouse/lifebook.c b/drivers/input/mouse/lifebook.c index a5765f747c02..bd9955730176 100644 --- a/drivers/input/mouse/lifebook.c +++ b/drivers/input/mouse/lifebook.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Fujitsu B-series Lifebook PS/2 TouchScreen driver | 3 | * Fujitsu B-series Lifebook PS/2 TouchScreen driver |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * TouchScreen detection, absolute mode setting and packet layout is taken from | 8 | * TouchScreen detection, absolute mode setting and packet layout is taken from |
8 | * Harald Hoyer's description of the device. | 9 | * Harald Hoyer's description of the device. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/input.h> | 12 | #include <linux/input.h> |
diff --git a/drivers/input/mouse/lifebook.h b/drivers/input/mouse/lifebook.h index 0baf02a70a99..573f2ca1983d 100644 --- a/drivers/input/mouse/lifebook.h +++ b/drivers/input/mouse/lifebook.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Fujitsu B-series Lifebook PS/2 TouchScreen driver | 3 | * Fujitsu B-series Lifebook PS/2 TouchScreen driver |
3 | * | 4 | * |
4 | * Copyright (c) 2005 Vojtech Pavlik | 5 | * Copyright (c) 2005 Vojtech Pavlik |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _LIFEBOOK_H | 8 | #ifndef _LIFEBOOK_H |
diff --git a/drivers/input/mouse/logips2pp.c b/drivers/input/mouse/logips2pp.c index 3d5637e6fa5f..ed5a848dba9d 100644 --- a/drivers/input/mouse/logips2pp.c +++ b/drivers/input/mouse/logips2pp.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Logitech PS/2++ mouse driver | 3 | * Logitech PS/2++ mouse driver |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2003 Vojtech Pavlik <vojtech@suse.cz> | 5 | * Copyright (c) 1999-2003 Vojtech Pavlik <vojtech@suse.cz> |
5 | * Copyright (c) 2003 Eric Wong <eric@yhbt.net> | 6 | * Copyright (c) 2003 Eric Wong <eric@yhbt.net> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
diff --git a/drivers/input/mouse/logips2pp.h b/drivers/input/mouse/logips2pp.h index bf629453e095..5f9344135f70 100644 --- a/drivers/input/mouse/logips2pp.h +++ b/drivers/input/mouse/logips2pp.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Logitech PS/2++ mouse driver header | 3 | * Logitech PS/2++ mouse driver header |
3 | * | 4 | * |
4 | * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz> | 5 | * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _LOGIPS2PP_H | 8 | #ifndef _LOGIPS2PP_H |
diff --git a/drivers/input/mouse/navpoint.c b/drivers/input/mouse/navpoint.c index d6e8f58a1de3..0b75248c8380 100644 --- a/drivers/input/mouse/navpoint.c +++ b/drivers/input/mouse/navpoint.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Synaptics NavPoint (PXA27x SSP/SPI) driver. | 3 | * Synaptics NavPoint (PXA27x SSP/SPI) driver. |
3 | * | 4 | * |
4 | * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com> | 5 | * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.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 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index 94f7ca5ad077..527ae0b9a191 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * PS/2 mouse driver | 3 | * PS/2 mouse driver |
3 | * | 4 | * |
@@ -5,11 +6,6 @@ | |||
5 | * Copyright (c) 2003-2004 Dmitry Torokhov | 6 | * Copyright (c) 2003-2004 Dmitry Torokhov |
6 | */ | 7 | */ |
7 | 8 | ||
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 by | ||
11 | * the Free Software Foundation. | ||
12 | */ | ||
13 | 9 | ||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
15 | #define psmouse_fmt(fmt) fmt | 11 | #define psmouse_fmt(fmt) fmt |
diff --git a/drivers/input/mouse/psmouse-smbus.c b/drivers/input/mouse/psmouse-smbus.c index 852d4b486ddb..027efdd2b2ad 100644 --- a/drivers/input/mouse/psmouse-smbus.c +++ b/drivers/input/mouse/psmouse-smbus.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2017 Red Hat, Inc | 3 | * Copyright (c) 2017 Red Hat, Inc |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/input/mouse/pxa930_trkball.c b/drivers/input/mouse/pxa930_trkball.c index 9b4d9a59e229..87bac8cff6f7 100644 --- a/drivers/input/mouse/pxa930_trkball.c +++ b/drivers/input/mouse/pxa930_trkball.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * PXA930 track ball mouse driver | 3 | * PXA930 track ball mouse driver |
3 | * | 4 | * |
4 | * Copyright (C) 2007 Marvell International Ltd. | 5 | * Copyright (C) 2007 Marvell International Ltd. |
5 | * 2008-02-28: Yong Yao <yaoyong@marvell.com> | 6 | * 2008-02-28: Yong Yao <yaoyong@marvell.com> |
6 | * initial version | 7 | * initial version |
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 | 9 | ||
13 | #include <linux/input.h> | 10 | #include <linux/input.h> |
diff --git a/drivers/input/mouse/rpcmouse.c b/drivers/input/mouse/rpcmouse.c index 21c60fea5d31..6774029e0a1a 100644 --- a/drivers/input/mouse/rpcmouse.c +++ b/drivers/input/mouse/rpcmouse.c | |||
@@ -1,15 +1,12 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Acorn RiscPC mouse driver for Linux/ARM | 3 | * Acorn RiscPC mouse driver for Linux/ARM |
3 | * | 4 | * |
4 | * Copyright (c) 2000-2002 Vojtech Pavlik | 5 | * Copyright (c) 2000-2002 Vojtech Pavlik |
5 | * Copyright (C) 1996-2002 Russell King | 6 | * Copyright (C) 1996-2002 Russell King |
6 | * | ||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /* | 9 | /* |
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | * | 10 | * |
14 | * This handles the Acorn RiscPCs mouse. We basically have a couple of | 11 | * This handles the Acorn RiscPCs mouse. We basically have a couple of |
15 | * hardware registers that track the sensor count for the X-Y movement and | 12 | * hardware registers that track the sensor count for the X-Y movement and |
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index b6da0c1267e3..8904fa251b1e 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Synaptics TouchPad PS/2 mouse driver | 3 | * Synaptics TouchPad PS/2 mouse driver |
3 | * | 4 | * |
@@ -16,10 +17,6 @@ | |||
16 | * Copyright (c) 1998-2000 Bruce Kalk <kall@compass.com> | 17 | * Copyright (c) 1998-2000 Bruce Kalk <kall@compass.com> |
17 | * code for the special synaptics commands (from the tpconfig-source) | 18 | * code for the special synaptics commands (from the tpconfig-source) |
18 | * | 19 | * |
19 | * This program is free software; you can redistribute it and/or modify it | ||
20 | * under the terms of the GNU General Public License version 2 as published by | ||
21 | * the Free Software Foundation. | ||
22 | * | ||
23 | * Trademarks are the property of their respective owners. | 20 | * Trademarks are the property of their respective owners. |
24 | */ | 21 | */ |
25 | 22 | ||
diff --git a/drivers/input/mouse/synaptics.h b/drivers/input/mouse/synaptics.h index fc00e005c611..08533d1b1b16 100644 --- a/drivers/input/mouse/synaptics.h +++ b/drivers/input/mouse/synaptics.h | |||
@@ -1,9 +1,6 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Synaptics TouchPad PS/2 mouse driver | 3 | * Synaptics TouchPad PS/2 mouse driver |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #ifndef _SYNAPTICS_H | 6 | #ifndef _SYNAPTICS_H |
diff --git a/drivers/input/mouse/touchkit_ps2.h b/drivers/input/mouse/touchkit_ps2.h index 2efe9ea29d0c..5acb76464a5b 100644 --- a/drivers/input/mouse/touchkit_ps2.h +++ b/drivers/input/mouse/touchkit_ps2.h | |||
@@ -1,12 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* ---------------------------------------------------------------------------- | 2 | /* ---------------------------------------------------------------------------- |
2 | * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens | 3 | * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens |
3 | * | 4 | * |
4 | * Copyright (C) 2005 by Stefan Lucke | 5 | * Copyright (C) 2005 by Stefan Lucke |
5 | * Copyright (c) 2005 Vojtech Pavlik | 6 | * Copyright (c) 2005 Vojtech Pavlik |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #ifndef _TOUCHKIT_PS2_H | 9 | #ifndef _TOUCHKIT_PS2_H |
diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c index 6590d10f166f..3eefee2ee2a1 100644 --- a/drivers/input/mouse/trackpoint.c +++ b/drivers/input/mouse/trackpoint.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Stephen Evanchik <evanchsa@gmail.com> | 3 | * Stephen Evanchik <evanchsa@gmail.com> |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * Trademarks are the property of their respective owners. | 5 | * Trademarks are the property of their respective owners. |
9 | */ | 6 | */ |
10 | 7 | ||
diff --git a/drivers/input/mouse/trackpoint.h b/drivers/input/mouse/trackpoint.h index 10a039148234..0afffe8d824f 100644 --- a/drivers/input/mouse/trackpoint.h +++ b/drivers/input/mouse/trackpoint.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * IBM TrackPoint PS/2 mouse driver | 3 | * IBM TrackPoint PS/2 mouse driver |
3 | * | 4 | * |
4 | * Stephen Evanchik <evanchsa@gmail.com> | 5 | * Stephen Evanchik <evanchsa@gmail.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _TRACKPOINT_H | 8 | #ifndef _TRACKPOINT_H |
diff --git a/drivers/input/mouse/vmmouse.c b/drivers/input/mouse/vmmouse.c index 1ae5c1ef3f5b..871e5b5ab129 100644 --- a/drivers/input/mouse/vmmouse.c +++ b/drivers/input/mouse/vmmouse.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors. | 3 | * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors. |
3 | * | 4 | * |
4 | * Copyright (C) 2014, VMware, Inc. All Rights Reserved. | 5 | * Copyright (C) 2014, VMware, Inc. All Rights Reserved. |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Twin device code is hugely inspired by the ALPS driver. | 7 | * Twin device code is hugely inspired by the ALPS driver. |
11 | * Authors: | 8 | * Authors: |
12 | * Dmitry Torokhov <dmitry.torokhov@gmail.com> | 9 | * Dmitry Torokhov <dmitry.torokhov@gmail.com> |
diff --git a/drivers/input/mouse/vmmouse.h b/drivers/input/mouse/vmmouse.h index 6f126017a24c..774549a12930 100644 --- a/drivers/input/mouse/vmmouse.h +++ b/drivers/input/mouse/vmmouse.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors. | 3 | * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors. |
3 | * | 4 | * |
4 | * Copyright (C) 2014, VMware, Inc. All Rights Reserved. | 5 | * Copyright (C) 2014, VMware, Inc. All Rights Reserved. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _VMMOUSE_H | 8 | #ifndef _VMMOUSE_H |
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index 412fa71245af..3b73e0f17848 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input driver to ExplorerPS/2 device driver module. | 3 | * Input driver to ExplorerPS/2 device driver module. |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2002 Vojtech Pavlik | 5 | * Copyright (c) 1999-2002 Vojtech Pavlik |
5 | * Copyright (c) 2004 Dmitry Torokhov | 6 | * Copyright (c) 2004 Dmitry Torokhov |
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 published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/input/rmi4/rmi_2d_sensor.c b/drivers/input/rmi4/rmi_2d_sensor.c index 8eeffa066022..ea549efe4bc4 100644 --- a/drivers/input/rmi4/rmi_2d_sensor.c +++ b/drivers/input/rmi4/rmi_2d_sensor.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_2d_sensor.h b/drivers/input/rmi4/rmi_2d_sensor.h index c871bef4dac0..7d335d809710 100644 --- a/drivers/input/rmi4/rmi_2d_sensor.h +++ b/drivers/input/rmi4/rmi_2d_sensor.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #ifndef _RMI_2D_SENSOR_H | 7 | #ifndef _RMI_2D_SENSOR_H |
diff --git a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c index bd0d5ff01b08..af706a583656 100644 --- a/drivers/input/rmi4/rmi_bus.c +++ b/drivers/input/rmi4/rmi_bus.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_bus.h b/drivers/input/rmi4/rmi_bus.h index 96383eab41ba..25df6320f9f1 100644 --- a/drivers/input/rmi4/rmi_bus.h +++ b/drivers/input/rmi4/rmi_bus.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #ifndef _RMI_BUS_H | 7 | #ifndef _RMI_BUS_H |
diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c index 7fb358f96195..772493b1f665 100644 --- a/drivers/input/rmi4/rmi_driver.c +++ b/drivers/input/rmi4/rmi_driver.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
@@ -8,10 +9,6 @@ | |||
8 | * | 9 | * |
9 | * http://www.synaptics.com/sites/default/files/ | 10 | * http://www.synaptics.com/sites/default/files/ |
10 | * 511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf | 11 | * 511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf |
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published by | ||
14 | * the Free Software Foundation. | ||
15 | */ | 12 | */ |
16 | 13 | ||
17 | #include <linux/bitmap.h> | 14 | #include <linux/bitmap.h> |
diff --git a/drivers/input/rmi4/rmi_driver.h b/drivers/input/rmi4/rmi_driver.h index d31793ae83f0..65bfaa95e193 100644 --- a/drivers/input/rmi4/rmi_driver.h +++ b/drivers/input/rmi4/rmi_driver.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #ifndef _RMI_DRIVER_H | 7 | #ifndef _RMI_DRIVER_H |
diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c index 4edaa14fe878..e623c956376e 100644 --- a/drivers/input/rmi4/rmi_f01.c +++ b/drivers/input/rmi4/rmi_f01.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_f03.c b/drivers/input/rmi4/rmi_f03.c index aaa1edc95522..c194b1664b10 100644 --- a/drivers/input/rmi4/rmi_f03.c +++ b/drivers/input/rmi4/rmi_f03.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015-2016 Red Hat | 3 | * Copyright (C) 2015-2016 Red Hat |
3 | * Copyright (C) 2015 Lyude Paul <thatslyude@gmail.com> | 4 | * Copyright (C) 2015 Lyude Paul <thatslyude@gmail.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c index 93901ebd122a..f28a7158b2ef 100644 --- a/drivers/input/rmi4/rmi_f11.c +++ b/drivers/input/rmi4/rmi_f11.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2015 Synaptics Incorporated | 3 | * Copyright (c) 2011-2015 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_f12.c b/drivers/input/rmi4/rmi_f12.c index 5c7f48915779..bb14369e34a7 100644 --- a/drivers/input/rmi4/rmi_f12.c +++ b/drivers/input/rmi4/rmi_f12.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2012-2016 Synaptics Incorporated | 3 | * Copyright (c) 2012-2016 Synaptics Incorporated |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | #include <linux/input.h> | 5 | #include <linux/input.h> |
9 | #include <linux/input/mt.h> | 6 | #include <linux/input/mt.h> |
diff --git a/drivers/input/rmi4/rmi_f30.c b/drivers/input/rmi4/rmi_f30.c index 5e3ed5ac0c3e..a90dad1d9ac7 100644 --- a/drivers/input/rmi4/rmi_f30.c +++ b/drivers/input/rmi4/rmi_f30.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2012-2016 Synaptics Incorporated | 3 | * Copyright (c) 2012-2016 Synaptics Incorporated |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_f34.c b/drivers/input/rmi4/rmi_f34.c index 87a7d4ba382d..e5dca9868f87 100644 --- a/drivers/input/rmi4/rmi_f34.c +++ b/drivers/input/rmi4/rmi_f34.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2007-2016, Synaptics Incorporated | 3 | * Copyright (c) 2007-2016, Synaptics Incorporated |
3 | * Copyright (C) 2016 Zodiac Inflight Innovations | 4 | * Copyright (C) 2016 Zodiac Inflight Innovations |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_f34.h b/drivers/input/rmi4/rmi_f34.h index 32c4e9581c68..99faa8c2269d 100644 --- a/drivers/input/rmi4/rmi_f34.h +++ b/drivers/input/rmi4/rmi_f34.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2007-2016, Synaptics Incorporated | 3 | * Copyright (c) 2007-2016, Synaptics Incorporated |
3 | * Copyright (C) 2016 Zodiac Inflight Innovations | 4 | * Copyright (C) 2016 Zodiac Inflight Innovations |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #ifndef _RMI_F34_H | 7 | #ifndef _RMI_F34_H |
diff --git a/drivers/input/rmi4/rmi_f34v7.c b/drivers/input/rmi4/rmi_f34v7.c index 3991d2943660..a4cabf52740c 100644 --- a/drivers/input/rmi4/rmi_f34v7.c +++ b/drivers/input/rmi4/rmi_f34v7.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2016, Zodiac Inflight Innovations | 3 | * Copyright (c) 2016, Zodiac Inflight Innovations |
3 | * Copyright (c) 2007-2016, Synaptics Incorporated | 4 | * Copyright (c) 2007-2016, Synaptics Incorporated |
4 | * Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com> | 5 | * Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com> |
5 | * Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com> | 6 | * Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
diff --git a/drivers/input/rmi4/rmi_f54.c b/drivers/input/rmi4/rmi_f54.c index 516fea06ed59..710b02595486 100644 --- a/drivers/input/rmi4/rmi_f54.c +++ b/drivers/input/rmi4/rmi_f54.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2012-2015 Synaptics Incorporated | 3 | * Copyright (c) 2012-2015 Synaptics Incorporated |
3 | * Copyright (C) 2016 Zodiac Inflight Innovations | 4 | * Copyright (C) 2016 Zodiac Inflight Innovations |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_f55.c b/drivers/input/rmi4/rmi_f55.c index 37390ca6a924..488adaca4dd0 100644 --- a/drivers/input/rmi4/rmi_f55.c +++ b/drivers/input/rmi4/rmi_f55.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2012-2015 Synaptics Incorporated | 3 | * Copyright (c) 2012-2015 Synaptics Incorporated |
3 | * Copyright (C) 2016 Zodiac Inflight Innovations | 4 | * Copyright (C) 2016 Zodiac Inflight Innovations |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/bitops.h> | 7 | #include <linux/bitops.h> |
diff --git a/drivers/input/rmi4/rmi_i2c.c b/drivers/input/rmi4/rmi_i2c.c index d4b3f9d0dc2e..a95c2c9bcab4 100644 --- a/drivers/input/rmi4/rmi_i2c.c +++ b/drivers/input/rmi4/rmi_i2c.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/i2c.h> | 7 | #include <linux/i2c.h> |
diff --git a/drivers/input/rmi4/rmi_smbus.c b/drivers/input/rmi4/rmi_smbus.c index b6ccf39c6a7b..2407ea43de59 100644 --- a/drivers/input/rmi4/rmi_smbus.c +++ b/drivers/input/rmi4/rmi_smbus.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2015 - 2016 Red Hat, Inc | 3 | * Copyright (c) 2015 - 2016 Red Hat, Inc |
3 | * Copyright (c) 2011, 2012 Synaptics Incorporated | 4 | * Copyright (c) 2011, 2012 Synaptics Incorporated |
4 | * Copyright (c) 2011 Unixphere | 5 | * Copyright (c) 2011 Unixphere |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/input/rmi4/rmi_spi.c b/drivers/input/rmi4/rmi_spi.c index 33b8c6e7ac0a..27b68dc79b18 100644 --- a/drivers/input/rmi4/rmi_spi.c +++ b/drivers/input/rmi4/rmi_spi.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2011-2016 Synaptics Incorporated | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
3 | * Copyright (c) 2011 Unixphere | 4 | * Copyright (c) 2011 Unixphere |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c index 131d7826dc6b..379e9240c2b3 100644 --- a/drivers/input/serio/altera_ps2.c +++ b/drivers/input/serio/altera_ps2.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Altera University Program PS2 controller driver | 3 | * Altera University Program PS2 controller driver |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on sa1111ps2.c, which is: | 7 | * Based on sa1111ps2.c, which is: |
7 | * Copyright (C) 2002 Russell King | 8 | * Copyright (C) 2002 Russell King |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index f8663d7891f2..1c0be299f179 100644 --- a/drivers/input/serio/ams_delta_serio.c +++ b/drivers/input/serio/ams_delta_serio.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Amstrad E3 (Delta) keyboard port driver | 3 | * Amstrad E3 (Delta) keyboard port driver |
3 | * | 4 | * |
4 | * Copyright (c) 2006 Matt Callow | 5 | * Copyright (c) 2006 Matt Callow |
5 | * Copyright (c) 2010 Janusz Krzysztofik | 6 | * Copyright (c) 2010 Janusz Krzysztofik |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | * | ||
11 | * Thanks to Cliff Lawson for his help | 8 | * Thanks to Cliff Lawson for his help |
12 | * | 9 | * |
13 | * The Amstrad Delta keyboard (aka mailboard) uses normal PC-AT style serial | 10 | * The Amstrad Delta keyboard (aka mailboard) uses normal PC-AT style serial |
diff --git a/drivers/input/serio/arc_ps2.c b/drivers/input/serio/arc_ps2.c index 99e57a418753..443194a2b9e3 100644 --- a/drivers/input/serio/arc_ps2.c +++ b/drivers/input/serio/arc_ps2.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) | 3 | * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) |
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 | * Driver is originally developed by Pavel Sokolov <psokolov@synopsys.com> | 5 | * Driver is originally developed by Pavel Sokolov <psokolov@synopsys.com> |
9 | */ | 6 | */ |
10 | 7 | ||
diff --git a/drivers/input/serio/i8042-io.h b/drivers/input/serio/i8042-io.h index 34da81c006b6..da0bf85321de 100644 --- a/drivers/input/serio/i8042-io.h +++ b/drivers/input/serio/i8042-io.h | |||
@@ -1,11 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_IO_H | 2 | #ifndef _I8042_IO_H |
2 | #define _I8042_IO_H | 3 | #define _I8042_IO_H |
3 | 4 | ||
4 | /* | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | ||
9 | 5 | ||
10 | /* | 6 | /* |
11 | * Names. | 7 | * Names. |
diff --git a/drivers/input/serio/i8042-ip22io.h b/drivers/input/serio/i8042-ip22io.h index 08a1c10a1448..6c7efa01745c 100644 --- a/drivers/input/serio/i8042-ip22io.h +++ b/drivers/input/serio/i8042-ip22io.h | |||
@@ -1,14 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_IP22_H | 2 | #ifndef _I8042_IP22_H |
2 | #define _I8042_IP22_H | 3 | #define _I8042_IP22_H |
3 | 4 | ||
4 | #include <asm/sgi/ioc.h> | 5 | #include <asm/sgi/ioc.h> |
5 | #include <asm/sgi/ip22.h> | 6 | #include <asm/sgi/ip22.h> |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | /* | 9 | /* |
14 | * Names. | 10 | * Names. |
diff --git a/drivers/input/serio/i8042-jazzio.h b/drivers/input/serio/i8042-jazzio.h index 13fd7108eb28..4c2a96f9128c 100644 --- a/drivers/input/serio/i8042-jazzio.h +++ b/drivers/input/serio/i8042-jazzio.h | |||
@@ -1,13 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_JAZZ_H | 2 | #ifndef _I8042_JAZZ_H |
2 | #define _I8042_JAZZ_H | 3 | #define _I8042_JAZZ_H |
3 | 4 | ||
4 | #include <asm/jazz.h> | 5 | #include <asm/jazz.h> |
5 | 6 | ||
6 | /* | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | ||
11 | 7 | ||
12 | /* | 8 | /* |
13 | * Names. | 9 | * Names. |
diff --git a/drivers/input/serio/i8042-ppcio.h b/drivers/input/serio/i8042-ppcio.h index 1aabea43329e..391f94d9e47d 100644 --- a/drivers/input/serio/i8042-ppcio.h +++ b/drivers/input/serio/i8042-ppcio.h | |||
@@ -1,11 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_PPCIO_H | 2 | #ifndef _I8042_PPCIO_H |
2 | #define _I8042_PPCIO_H | 3 | #define _I8042_PPCIO_H |
3 | 4 | ||
4 | /* | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | ||
9 | 5 | ||
10 | #if defined(CONFIG_WALNUT) | 6 | #if defined(CONFIG_WALNUT) |
11 | 7 | ||
diff --git a/drivers/input/serio/i8042-snirm.h b/drivers/input/serio/i8042-snirm.h index 409a9341143d..4b7136704338 100644 --- a/drivers/input/serio/i8042-snirm.h +++ b/drivers/input/serio/i8042-snirm.h | |||
@@ -1,13 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_SNIRM_H | 2 | #ifndef _I8042_SNIRM_H |
2 | #define _I8042_SNIRM_H | 3 | #define _I8042_SNIRM_H |
3 | 4 | ||
4 | #include <asm/sni.h> | 5 | #include <asm/sni.h> |
5 | 6 | ||
6 | /* | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | ||
11 | 7 | ||
12 | /* | 8 | /* |
13 | * Names. | 9 | * Names. |
diff --git a/drivers/input/serio/i8042-unicore32io.h b/drivers/input/serio/i8042-unicore32io.h index 455747552f85..50bb3ed94b56 100644 --- a/drivers/input/serio/i8042-unicore32io.h +++ b/drivers/input/serio/i8042-unicore32io.h | |||
@@ -1,12 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Code specific to PKUnity SoC and UniCore ISA | 3 | * Code specific to PKUnity SoC and UniCore ISA |
3 | * | 4 | * |
4 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 5 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
5 | * Copyright (C) 2001-2011 Guan Xuetao | 6 | * Copyright (C) 2001-2011 Guan Xuetao |
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 | #ifndef _I8042_UNICORE32_H | 8 | #ifndef _I8042_UNICORE32_H |
12 | #define _I8042_UNICORE32_H | 9 | #define _I8042_UNICORE32_H |
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 136f6e7bf797..dc974c288e88 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h | |||
@@ -1,11 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_X86IA64IO_H | 2 | #ifndef _I8042_X86IA64IO_H |
2 | #define _I8042_X86IA64IO_H | 3 | #define _I8042_X86IA64IO_H |
3 | 4 | ||
4 | /* | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | ||
9 | 5 | ||
10 | #ifdef CONFIG_X86 | 6 | #ifdef CONFIG_X86 |
11 | #include <asm/x86_init.h> | 7 | #include <asm/x86_init.h> |
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 6462f1798fbb..e4352741c467 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * i8042 keyboard and mouse controller driver for Linux | 3 | * i8042 keyboard and mouse controller driver for Linux |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2004 Vojtech Pavlik | 5 | * Copyright (c) 1999-2004 Vojtech Pavlik |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
14 | 10 | ||
diff --git a/drivers/input/serio/i8042.h b/drivers/input/serio/i8042.h index 1db0a40c9bab..38dc27ad3c18 100644 --- a/drivers/input/serio/i8042.h +++ b/drivers/input/serio/i8042.h | |||
@@ -1,13 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _I8042_H | 2 | #ifndef _I8042_H |
2 | #define _I8042_H | 3 | #define _I8042_H |
3 | 4 | ||
4 | 5 | ||
5 | /* | 6 | /* |
6 | * Copyright (c) 1999-2002 Vojtech Pavlik | 7 | * Copyright (c) 1999-2002 Vojtech Pavlik |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | /* | 10 | /* |
diff --git a/drivers/input/serio/libps2.c b/drivers/input/serio/libps2.c index 22b8e05aa36c..a8c94a940a79 100644 --- a/drivers/input/serio/libps2.c +++ b/drivers/input/serio/libps2.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * PS/2 driver library | 3 | * PS/2 driver library |
3 | * | 4 | * |
@@ -5,11 +6,6 @@ | |||
5 | * Copyright (c) 2004 Dmitry Torokhov | 6 | * Copyright (c) 2004 Dmitry Torokhov |
6 | */ | 7 | */ |
7 | 8 | ||
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 by | ||
11 | * the Free Software Foundation. | ||
12 | */ | ||
13 | 9 | ||
14 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
15 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c index e365c5f4cbc9..629e15089c21 100644 --- a/drivers/input/serio/maceps2.c +++ b/drivers/input/serio/maceps2.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * SGI O2 MACE PS2 controller driver for linux | 3 | * SGI O2 MACE PS2 controller driver for linux |
3 | * | 4 | * |
4 | * Copyright (C) 2002 Vivien Chappelier | 5 | * Copyright (C) 2002 Vivien Chappelier |
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/module.h> | 7 | #include <linux/module.h> |
11 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/drivers/input/serio/parkbd.c b/drivers/input/serio/parkbd.c index 1edfac78d4ac..ddbbd4afb4a2 100644 --- a/drivers/input/serio/parkbd.c +++ b/drivers/input/serio/parkbd.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Parallel port to Keyboard port adapter driver for Linux | 3 | * Parallel port to Keyboard port adapter driver for Linux |
3 | * | 4 | * |
4 | * Copyright (c) 1999-2004 Vojtech Pavlik | 5 | * Copyright (c) 1999-2004 Vojtech Pavlik |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | /* | 9 | /* |
14 | * To connect an AT or XT keyboard to the parallel port, a fairly simple adapter | 10 | * To connect an AT or XT keyboard to the parallel port, a fairly simple adapter |
diff --git a/drivers/input/serio/ps2-gpio.c b/drivers/input/serio/ps2-gpio.c index 5e8d8384aa2a..e0f18469d01b 100644 --- a/drivers/input/serio/ps2-gpio.c +++ b/drivers/input/serio/ps2-gpio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO based serio bus driver for bit banging the PS/2 protocol | 3 | * GPIO based serio bus driver for bit banging the PS/2 protocol |
3 | * | 4 | * |
4 | * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> | 5 | * Author: Danilo Krummrich <danilokrummrich@dk-develop.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/gpio/consumer.h> | 8 | #include <linux/gpio/consumer.h> |
diff --git a/drivers/input/serio/ps2mult.c b/drivers/input/serio/ps2mult.c index a76fb64f03db..0071dd5ebcc2 100644 --- a/drivers/input/serio/ps2mult.c +++ b/drivers/input/serio/ps2mult.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TQC PS/2 Multiplexer driver | 3 | * TQC PS/2 Multiplexer driver |
3 | * | 4 | * |
4 | * Copyright (C) 2010 Dmitry Eremin-Solenikov | 5 | * Copyright (C) 2010 Dmitry Eremin-Solenikov |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | 8 | ||
diff --git a/drivers/input/serio/serio_raw.c b/drivers/input/serio/serio_raw.c index 17b7fbecd9fe..e9647ebff187 100644 --- a/drivers/input/serio/serio_raw.c +++ b/drivers/input/serio/serio_raw.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Raw serio device providing access to a raw byte stream from underlying | 3 | * Raw serio device providing access to a raw byte stream from underlying |
3 | * serio port. Closely emulates behavior of pre-2.6 /dev/psaux device | 4 | * serio port. Closely emulates behavior of pre-2.6 /dev/psaux device |
4 | * | 5 | * |
5 | * Copyright (c) 2004 Dmitry Torokhov | 6 | * Copyright (c) 2004 Dmitry Torokhov |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/kref.h> | 9 | #include <linux/kref.h> |
diff --git a/drivers/input/serio/serport.c b/drivers/input/serio/serport.c index 5977b8a34ebe..8ac970a423de 100644 --- a/drivers/input/serio/serport.c +++ b/drivers/input/serio/serport.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Input device TTY line discipline | 3 | * Input device TTY line discipline |
3 | * | 4 | * |
@@ -7,11 +8,6 @@ | |||
7 | * 'serial io port' abstraction that the input device drivers use. | 8 | * 'serial io port' abstraction that the input device drivers use. |
8 | */ | 9 | */ |
9 | 10 | ||
10 | /* | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published by | ||
13 | * the Free Software Foundation. | ||
14 | */ | ||
15 | 11 | ||
16 | #include <linux/uaccess.h> | 12 | #include <linux/uaccess.h> |
17 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
diff --git a/drivers/input/sparse-keymap.c b/drivers/input/sparse-keymap.c index 0cad5e7c559b..530fd15eaeca 100644 --- a/drivers/input/sparse-keymap.c +++ b/drivers/input/sparse-keymap.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Generic support for sparse keymaps | 3 | * Generic support for sparse keymaps |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> | 8 | * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> |
8 | * Copyright (C) 2005 Bernhard Rosenkraenzer <bero@arklinux.org> | 9 | * Copyright (C) 2005 Bernhard Rosenkraenzer <bero@arklinux.org> |
9 | * Copyright (C) 2005 Dmitry Torokhov <dtor@mail.ru> | 10 | * Copyright (C) 2005 Dmitry Torokhov <dtor@mail.ru> |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published by | ||
13 | * the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/input.h> | 13 | #include <linux/input.h> |
diff --git a/drivers/input/touchscreen/88pm860x-ts.c b/drivers/input/touchscreen/88pm860x-ts.c index 3486d9403805..1d1bbc8da949 100644 --- a/drivers/input/touchscreen/88pm860x-ts.c +++ b/drivers/input/touchscreen/88pm860x-ts.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Touchscreen driver for Marvell 88PM860x | 3 | * Touchscreen driver for Marvell 88PM860x |
3 | * | 4 | * |
4 | * Copyright (C) 2009 Marvell International Ltd. | 5 | * Copyright (C) 2009 Marvell International Ltd. |
5 | * Haojian Zhuang <haojian.zhuang@marvell.com> | 6 | * Haojian Zhuang <haojian.zhuang@marvell.com> |
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 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index a2f45aefce08..accbbe8d2966 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ADS7846 based touchscreen and sensor driver | 3 | * ADS7846 based touchscreen and sensor driver |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * Copyright (C) 2002 MontaVista Software | 13 | * Copyright (C) 2002 MontaVista Software |
13 | * Copyright (C) 2004 Texas Instruments | 14 | * Copyright (C) 2004 Texas Instruments |
14 | * Copyright (C) 2005 Dirk Behme | 15 | * Copyright (C) 2005 Dirk Behme |
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License version 2 as | ||
18 | * published by the Free Software Foundation. | ||
19 | */ | 16 | */ |
20 | #include <linux/types.h> | 17 | #include <linux/types.h> |
21 | #include <linux/hwmon.h> | 18 | #include <linux/hwmon.h> |
diff --git a/drivers/input/touchscreen/da9034-ts.c b/drivers/input/touchscreen/da9034-ts.c index 8264822dc4b9..2943f6a58388 100644 --- a/drivers/input/touchscreen/da9034-ts.c +++ b/drivers/input/touchscreen/da9034-ts.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Touchscreen driver for Dialog Semiconductor DA9034 | 3 | * Touchscreen driver for Dialog Semiconductor DA9034 |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Fengwei Yin <fengwei.yin@marvell.com> | 6 | * Fengwei Yin <fengwei.yin@marvell.com> |
6 | * Bin Yang <bin.yang@marvell.com> | 7 | * Bin Yang <bin.yang@marvell.com> |
7 | * Eric Miao <eric.miao@marvell.com> | 8 | * Eric Miao <eric.miao@marvell.com> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/input/touchscreen/dynapro.c b/drivers/input/touchscreen/dynapro.c index 5b1b66fffbe3..dc07fca7c5ed 100644 --- a/drivers/input/touchscreen/dynapro.c +++ b/drivers/input/touchscreen/dynapro.c | |||
@@ -1,17 +1,12 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Dynapro serial touchscreen driver | 3 | * Dynapro serial touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (c) 2009 Tias Guns | 5 | * Copyright (c) 2009 Tias Guns |
5 | * Based on the inexio driver (c) Vojtech Pavlik and Dan Streetman and | 6 | * Based on the inexio driver (c) Vojtech Pavlik and Dan Streetman and |
6 | * Richard Lemon | 7 | * Richard Lemon |
7 | * | ||
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published by | ||
13 | * the Free Software Foundation. | ||
14 | */ | ||
15 | 10 | ||
16 | /* | 11 | /* |
17 | * 2009/09/19 Tias Guns <tias@ulyssis.org> | 12 | * 2009/09/19 Tias Guns <tias@ulyssis.org> |
diff --git a/drivers/input/touchscreen/egalax_ts_serial.c b/drivers/input/touchscreen/egalax_ts_serial.c index 657bbae608c8..375922d3a6d1 100644 --- a/drivers/input/touchscreen/egalax_ts_serial.c +++ b/drivers/input/touchscreen/egalax_ts_serial.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * EETI Egalax serial touchscreen driver | 3 | * EETI Egalax serial touchscreen driver |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Hampshire serial touchscreen driver (Copyright (c) 2010 Adam Bennett) | 9 | * Hampshire serial touchscreen driver (Copyright (c) 2010 Adam Bennett) |
9 | */ | 10 | */ |
10 | 11 | ||
11 | /* | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published by | ||
14 | * the Free Software Foundation. | ||
15 | */ | ||
16 | 12 | ||
17 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
18 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/drivers/input/touchscreen/elo.c b/drivers/input/touchscreen/elo.c index 7f2942f3cec6..d6772a2c2d09 100644 --- a/drivers/input/touchscreen/elo.c +++ b/drivers/input/touchscreen/elo.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Elo serial touchscreen driver | 3 | * Elo serial touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (c) 2004 Vojtech Pavlik | 5 | * Copyright (c) 2004 Vojtech Pavlik |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | /* | 9 | /* |
14 | * This driver can handle serial Elo touchscreens using either the Elo standard | 10 | * This driver can handle serial Elo touchscreens using either the Elo standard |
diff --git a/drivers/input/touchscreen/exc3000.c b/drivers/input/touchscreen/exc3000.c index 37437a53cd1a..e007e2e8f626 100644 --- a/drivers/input/touchscreen/exc3000.c +++ b/drivers/input/touchscreen/exc3000.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for I2C connected EETI EXC3000 multiple touch controller | 3 | * Driver for I2C connected EETI EXC3000 multiple touch controller |
3 | * | 4 | * |
4 | * Copyright (C) 2017 Ahmet Inan <inan@distec.de> | 5 | * Copyright (C) 2017 Ahmet Inan <inan@distec.de> |
5 | * | 6 | * |
6 | * minimal implementation based on egalax_ts.c and egalax_i2c.c | 7 | * minimal implementation based on egalax_ts.c and egalax_i2c.c |
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 | 9 | ||
13 | #include <linux/bitops.h> | 10 | #include <linux/bitops.h> |
diff --git a/drivers/input/touchscreen/fujitsu_ts.c b/drivers/input/touchscreen/fujitsu_ts.c index a0fbb454499d..3b0b8fccc3f0 100644 --- a/drivers/input/touchscreen/fujitsu_ts.c +++ b/drivers/input/touchscreen/fujitsu_ts.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Fujitsu serial touchscreen driver | 3 | * Fujitsu serial touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (c) Dmitry Torokhov <dtor@mail.ru> | 5 | * Copyright (c) Dmitry Torokhov <dtor@mail.ru> |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published | ||
10 | * by the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | #include <linux/errno.h> | 9 | #include <linux/errno.h> |
14 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/input/touchscreen/hampshire.c b/drivers/input/touchscreen/hampshire.c index eb052d559e54..5c4d877564ee 100644 --- a/drivers/input/touchscreen/hampshire.c +++ b/drivers/input/touchscreen/hampshire.c | |||
@@ -1,16 +1,11 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Hampshire serial touchscreen driver | 3 | * Hampshire serial touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (c) 2010 Adam Bennett | 5 | * Copyright (c) 2010 Adam Bennett |
5 | * Based on the dynapro driver (c) Tias Guns | 6 | * Based on the dynapro driver (c) Tias Guns |
6 | * | ||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /* | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | ||
14 | 9 | ||
15 | /* | 10 | /* |
16 | * 2010/04/08 Adam Bennett <abennett72@gmail.com> | 11 | * 2010/04/08 Adam Bennett <abennett72@gmail.com> |
diff --git a/drivers/input/touchscreen/htcpen.c b/drivers/input/touchscreen/htcpen.c index 8fd909285877..2f261a34f9c2 100644 --- a/drivers/input/touchscreen/htcpen.c +++ b/drivers/input/touchscreen/htcpen.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * HTC Shift touchscreen driver | 3 | * HTC Shift touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Pau Oliva Fora <pof@eslack.org> | 5 | * Copyright (C) 2008 Pau Oliva Fora <pof@eslack.org> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published | ||
8 | * by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/errno.h> | 8 | #include <linux/errno.h> |
diff --git a/drivers/input/touchscreen/inexio.c b/drivers/input/touchscreen/inexio.c index 13bd0bf580a7..1d7e4c3966ce 100644 --- a/drivers/input/touchscreen/inexio.c +++ b/drivers/input/touchscreen/inexio.c | |||
@@ -1,16 +1,11 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iNexio serial touchscreen driver | 3 | * iNexio serial touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (c) 2008 Richard Lemon | 5 | * Copyright (c) 2008 Richard Lemon |
5 | * Based on the mtouch driver (c) Vojtech Pavlik and Dan Streetman | 6 | * Based on the mtouch driver (c) Vojtech Pavlik and Dan Streetman |
6 | * | ||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /* | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | ||
14 | 9 | ||
15 | /* | 10 | /* |
16 | * 2008/06/19 Richard Lemon <richard@codelemon.com> | 11 | * 2008/06/19 Richard Lemon <richard@codelemon.com> |
diff --git a/drivers/input/touchscreen/ipaq-micro-ts.c b/drivers/input/touchscreen/ipaq-micro-ts.c index 33c134820ef9..5c3977e1af6f 100644 --- a/drivers/input/touchscreen/ipaq-micro-ts.c +++ b/drivers/input/touchscreen/ipaq-micro-ts.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License version 2 as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * h3600 atmel micro companion support, touchscreen subdevice | 4 | * h3600 atmel micro companion support, touchscreen subdevice |
7 | * Author : Alessandro Gardich <gremlin@gremlin.it> | 5 | * Author : Alessandro Gardich <gremlin@gremlin.it> |
8 | * Author : Dmitry Artamonow <mad_soft@inbox.ru> | 6 | * Author : Dmitry Artamonow <mad_soft@inbox.ru> |
9 | * Author : Linus Walleij <linus.walleij@linaro.org> | 7 | * Author : Linus Walleij <linus.walleij@linaro.org> |
10 | * | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <asm/byteorder.h> | 10 | #include <asm/byteorder.h> |
diff --git a/drivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c index 729b3c89324c..974521102178 100644 --- a/drivers/input/touchscreen/jornada720_ts.c +++ b/drivers/input/touchscreen/jornada720_ts.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/input/touchscreen/jornada720_ts.c | 3 | * drivers/input/touchscreen/jornada720_ts.c |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> | 7 | * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> |
7 | * based on HP Jornada 56x touchscreen driver by Alex Lange <chicken@handhelds.org> | 8 | * based on HP Jornada 56x touchscreen driver by Alex Lange <chicken@handhelds.org> |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | * HP Jornada 710/720/729 Touchscreen Driver | 10 | * HP Jornada 710/720/729 Touchscreen Driver |
14 | */ | 11 | */ |
15 | 12 | ||
diff --git a/drivers/input/touchscreen/mc13783_ts.c b/drivers/input/touchscreen/mc13783_ts.c index ef64f36c5ffc..ae0d978c83bf 100644 --- a/drivers/input/touchscreen/mc13783_ts.c +++ b/drivers/input/touchscreen/mc13783_ts.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for the Freescale Semiconductor MC13783 touchscreen. | 3 | * Driver for the Freescale Semiconductor MC13783 touchscreen. |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Initial development of this code was funded by | 8 | * Initial development of this code was funded by |
8 | * Phytec Messtechnik GmbH, http://www.phytec.de/ | 9 | * Phytec Messtechnik GmbH, http://www.phytec.de/ |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
15 | #include <linux/mfd/mc13783.h> | 12 | #include <linux/mfd/mc13783.h> |
diff --git a/drivers/input/touchscreen/mk712.c b/drivers/input/touchscreen/mk712.c index c179060525ae..753d9cc1de1f 100644 --- a/drivers/input/touchscreen/mk712.c +++ b/drivers/input/touchscreen/mk712.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ICS MK712 touchscreen controller driver | 3 | * ICS MK712 touchscreen controller driver |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz> | 7 | * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz> |
7 | */ | 8 | */ |
8 | 9 | ||
9 | /* | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | ||
14 | 10 | ||
15 | /* | 11 | /* |
16 | * This driver supports the ICS MicroClock MK712 TouchScreen controller, | 12 | * This driver supports the ICS MicroClock MK712 TouchScreen controller, |
diff --git a/drivers/input/touchscreen/mtouch.c b/drivers/input/touchscreen/mtouch.c index 8278a9058640..28e449eea318 100644 --- a/drivers/input/touchscreen/mtouch.c +++ b/drivers/input/touchscreen/mtouch.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * MicroTouch (3M) serial touchscreen driver | 3 | * MicroTouch (3M) serial touchscreen driver |
3 | * | 4 | * |
4 | * Copyright (c) 2004 Vojtech Pavlik | 5 | * Copyright (c) 2004 Vojtech Pavlik |
5 | */ | 6 | */ |
6 | 7 | ||
7 | /* | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | ||
12 | 8 | ||
13 | /* | 9 | /* |
14 | * 2005/02/19 Dan Streetman <ddstreet@ieee.org> | 10 | * 2005/02/19 Dan Streetman <ddstreet@ieee.org> |
diff --git a/drivers/input/touchscreen/of_touchscreen.c b/drivers/input/touchscreen/of_touchscreen.c index 6d241d45e312..e16ec4c7043a 100644 --- a/drivers/input/touchscreen/of_touchscreen.c +++ b/drivers/input/touchscreen/of_touchscreen.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Generic DT helper functions for touchscreen devices | 3 | * Generic DT helper functions for touchscreen devices |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org> | 5 | * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org> |
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/property.h> | 8 | #include <linux/property.h> |
diff --git a/drivers/input/touchscreen/pcap_ts.c b/drivers/input/touchscreen/pcap_ts.c index 0e3fc419a3cf..b2da0194e02a 100644 --- a/drivers/input/touchscreen/pcap_ts.c +++ b/drivers/input/touchscreen/pcap_ts.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Motorola PCAP2 touchscreen as found in the EZX phone platform. | 3 | * Driver for Motorola PCAP2 touchscreen as found in the EZX phone platform. |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Harald Welte <laforge@openezx.org> | 5 | * Copyright (C) 2006 Harald Welte <laforge@openezx.org> |
5 | * Copyright (C) 2009 Daniel Ribeiro <drwyrm@gmail.com> | 6 | * Copyright (C) 2009 Daniel Ribeiro <drwyrm@gmail.com> |
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 | * | ||
11 | */ | 7 | */ |
12 | 8 | ||
13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/input/touchscreen/penmount.c b/drivers/input/touchscreen/penmount.c index 6e6d7fd98cd2..12abb3b36128 100644 --- a/drivers/input/touchscreen/penmount.c +++ b/drivers/input/touchscreen/penmount.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Penmount serial touchscreen driver | 3 | * Penmount serial touchscreen driver |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Copyright (c) 2004 Vojtech Pavlik | 9 | * Copyright (c) 2004 Vojtech Pavlik |
9 | */ | 10 | */ |
10 | 11 | ||
11 | /* | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published | ||
14 | * by the Free Software Foundation. | ||
15 | */ | ||
16 | 12 | ||
17 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
18 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c index dbdf4898aa17..de85e57b2486 100644 --- a/drivers/input/touchscreen/sx8654.c +++ b/drivers/input/touchscreen/sx8654.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Semtech SX8654 I2C touchscreen controller. | 3 | * Driver for Semtech SX8654 I2C touchscreen controller. |
3 | * | 4 | * |
@@ -21,10 +22,6 @@ | |||
21 | * Copyright (C) 2002 MontaVista Software | 22 | * Copyright (C) 2002 MontaVista Software |
22 | * Copyright (C) 2004 Texas Instruments | 23 | * Copyright (C) 2004 Texas Instruments |
23 | * Copyright (C) 2005 Dirk Behme | 24 | * Copyright (C) 2005 Dirk Behme |
24 | * | ||
25 | * This program is free software; you can redistribute it and/or modify | ||
26 | * it under the terms of the GNU General Public License version 2 as | ||
27 | * published by the Free Software Foundation. | ||
28 | */ | 25 | */ |
29 | 26 | ||
30 | #include <linux/bitops.h> | 27 | #include <linux/bitops.h> |
diff --git a/drivers/input/touchscreen/touchit213.c b/drivers/input/touchscreen/touchit213.c index 98a16698be8e..fb49687da405 100644 --- a/drivers/input/touchscreen/touchit213.c +++ b/drivers/input/touchscreen/touchit213.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Sahara TouchIT-213 serial touchscreen driver | 3 | * Sahara TouchIT-213 serial touchscreen driver |
3 | * | 4 | * |
@@ -9,11 +10,6 @@ | |||
9 | * and Dan Streetman <ddstreet@ieee.org> | 10 | * and Dan Streetman <ddstreet@ieee.org> |
10 | */ | 11 | */ |
11 | 12 | ||
12 | /* | ||
13 | * This program is free software; you can redistribute it and/or modify it | ||
14 | * under the terms of the GNU General Public License version 2 as published | ||
15 | * by the Free Software Foundation. | ||
16 | */ | ||
17 | 13 | ||
18 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
19 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/drivers/input/touchscreen/touchright.c b/drivers/input/touchscreen/touchright.c index 45c325c33f21..3cd58a13e44f 100644 --- a/drivers/input/touchscreen/touchright.c +++ b/drivers/input/touchscreen/touchright.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Touchright serial touchscreen driver | 3 | * Touchright serial touchscreen driver |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * and Dan Streetman <ddstreet@ieee.org> | 9 | * and Dan Streetman <ddstreet@ieee.org> |
9 | */ | 10 | */ |
10 | 11 | ||
11 | /* | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published | ||
14 | * by the Free Software Foundation. | ||
15 | */ | ||
16 | 12 | ||
17 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
18 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/drivers/input/touchscreen/touchwin.c b/drivers/input/touchscreen/touchwin.c index 2ba6b4ca28cb..bde3c6ee3c60 100644 --- a/drivers/input/touchscreen/touchwin.c +++ b/drivers/input/touchscreen/touchwin.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Touchwindow serial touchscreen driver | 3 | * Touchwindow serial touchscreen driver |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * and Dan Streetman <ddstreet@ieee.org> | 9 | * and Dan Streetman <ddstreet@ieee.org> |
9 | */ | 10 | */ |
10 | 11 | ||
11 | /* | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License version 2 as published | ||
14 | * by the Free Software Foundation. | ||
15 | */ | ||
16 | 12 | ||
17 | /* | 13 | /* |
18 | * 2005/02/19 Rick Koch: | 14 | * 2005/02/19 Rick Koch: |
diff --git a/drivers/input/touchscreen/tsc2007.h b/drivers/input/touchscreen/tsc2007.h index 30fdf5b04a6b..91c60bf6dcaf 100644 --- a/drivers/input/touchscreen/tsc2007.h +++ b/drivers/input/touchscreen/tsc2007.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | 2 | ||
2 | /* | 3 | /* |
3 | * Copyright (c) 2008 MtekVision Co., Ltd. | 4 | * Copyright (c) 2008 MtekVision Co., Ltd. |
@@ -13,10 +14,6 @@ | |||
13 | * Copyright (C) 2002 MontaVista Software | 14 | * Copyright (C) 2002 MontaVista Software |
14 | * Copyright (C) 2004 Texas Instruments | 15 | * Copyright (C) 2004 Texas Instruments |
15 | * Copyright (C) 2005 Dirk Behme | 16 | * Copyright (C) 2005 Dirk Behme |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify | ||
18 | * it under the terms of the GNU General Public License version 2 as | ||
19 | * published by the Free Software Foundation. | ||
20 | */ | 17 | */ |
21 | 18 | ||
22 | #ifndef _TSC2007_H | 19 | #ifndef _TSC2007_H |
diff --git a/drivers/input/touchscreen/tsc2007_core.c b/drivers/input/touchscreen/tsc2007_core.c index 8342e0c48a53..3b80abfc1eca 100644 --- a/drivers/input/touchscreen/tsc2007_core.c +++ b/drivers/input/touchscreen/tsc2007_core.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/input/touchscreen/tsc2007.c | 3 | * drivers/input/touchscreen/tsc2007.c |
3 | * | 4 | * |
@@ -14,10 +15,6 @@ | |||
14 | * Copyright (C) 2002 MontaVista Software | 15 | * Copyright (C) 2002 MontaVista Software |
15 | * Copyright (C) 2004 Texas Instruments | 16 | * Copyright (C) 2004 Texas Instruments |
16 | * Copyright (C) 2005 Dirk Behme | 17 | * Copyright (C) 2005 Dirk Behme |
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify | ||
19 | * it under the terms of the GNU General Public License version 2 as | ||
20 | * published by the Free Software Foundation. | ||
21 | */ | 18 | */ |
22 | 19 | ||
23 | #include <linux/module.h> | 20 | #include <linux/module.h> |
diff --git a/drivers/input/touchscreen/tsc2007_iio.c b/drivers/input/touchscreen/tsc2007_iio.c index e27a956f5f2b..3b0e3fa87d4c 100644 --- a/drivers/input/touchscreen/tsc2007_iio.c +++ b/drivers/input/touchscreen/tsc2007_iio.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2016 Golden Delicious Comp. GmbH&Co. KG | 3 | * Copyright (c) 2016 Golden Delicious Comp. GmbH&Co. KG |
3 | * Nikolaus Schaller <hns@goldelico.com> | 4 | * Nikolaus Schaller <hns@goldelico.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/i2c.h> | 7 | #include <linux/i2c.h> |
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index 1a86cbd9326f..807d39e18091 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Philips UCB1400 touchscreen driver | 3 | * Philips UCB1400 touchscreen driver |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * If something doesn't work and it worked before spliting, e-mail me, | 10 | * If something doesn't work and it worked before spliting, e-mail me, |
10 | * dont bother Nicolas please ;-) | 11 | * dont bother Nicolas please ;-) |
11 | * | 12 | * |
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | * | ||
16 | * This code is heavily based on ucb1x00-*.c copyrighted by Russell King | 13 | * This code is heavily based on ucb1x00-*.c copyrighted by Russell King |
17 | * covering the UCB1100, UCB1200 and UCB1300.. Support for the UCB1400 has | 14 | * covering the UCB1100, UCB1200 and UCB1300.. Support for the UCB1400 has |
18 | * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request. | 15 | * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request. |