diff options
Diffstat (limited to 'drivers/leds')
50 files changed, 50 insertions, 222 deletions
diff --git a/drivers/leds/led-class-flash.c b/drivers/leds/led-class-flash.c index cf398275a53c..94980c654d89 100644 --- a/drivers/leds/led-class-flash.c +++ b/drivers/leds/led-class-flash.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Flash class interface | 3 | * LED Flash class interface |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Samsung Electronics Co., Ltd. | 5 | * Copyright (C) 2015 Samsung Electronics Co., Ltd. |
5 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> | 6 | * Author: Jacek Anaszewski <j.anaszewski@samsung.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/device.h> | 9 | #include <linux/device.h> |
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 85848c5da705..4793e77808e2 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Class Core | 3 | * LED Class Core |
3 | * | 4 | * |
4 | * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> | 5 | * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> |
5 | * Copyright (C) 2005-2007 Richard Purdie <rpurdie@openedhand.com> | 6 | * Copyright (C) 2005-2007 Richard Purdie <rpurdie@openedhand.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/ctype.h> | 9 | #include <linux/ctype.h> |
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c index e3da7c03da1b..7107cd7e87cf 100644 --- a/drivers/leds/led-core.c +++ b/drivers/leds/led-core.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Class Core | 3 | * LED Class Core |
3 | * | 4 | * |
4 | * Copyright 2005-2006 Openedhand Ltd. | 5 | * Copyright 2005-2006 Openedhand Ltd. |
5 | * | 6 | * |
6 | * Author: Richard Purdie <rpurdie@openedhand.com> | 7 | * Author: Richard Purdie <rpurdie@openedhand.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/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/leds/led-triggers.c b/drivers/leds/led-triggers.c index 2d451b6c24af..8d11a5e23227 100644 --- a/drivers/leds/led-triggers.c +++ b/drivers/leds/led-triggers.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Triggers Core | 3 | * LED Triggers Core |
3 | * | 4 | * |
4 | * Copyright 2005-2007 Openedhand Ltd. | 5 | * Copyright 2005-2007 Openedhand Ltd. |
5 | * | 6 | * |
6 | * Author: Richard Purdie <rpurdie@openedhand.com> | 7 | * Author: Richard Purdie <rpurdie@openedhand.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/export.h> | 10 | #include <linux/export.h> |
diff --git a/drivers/leds/leds-88pm860x.c b/drivers/leds/leds-88pm860x.c index 036d4a536697..b3044c9a8120 100644 --- a/drivers/leds/leds-88pm860x.c +++ b/drivers/leds/leds-88pm860x.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED driver for Marvell 88PM860x | 3 | * LED 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 | * | ||
11 | */ | 7 | */ |
12 | 8 | ||
13 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c index 43bd8a43f36c..bf26f5bed1f0 100644 --- a/drivers/leds/leds-aat1290.c +++ b/drivers/leds/leds-aat1290.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Flash class driver for the AAT1290 | 3 | * LED Flash class driver for the AAT1290 |
3 | * 1.5A Step-Up Current Regulator for Flash LEDs | 4 | * 1.5A Step-Up Current Regulator for Flash LEDs |
4 | * | 5 | * |
5 | * Copyright (C) 2015, Samsung Electronics Co., Ltd. | 6 | * Copyright (C) 2015, Samsung Electronics Co., Ltd. |
6 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> | 7 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * version 2 as published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c index 1b71eac639f0..8cbc1b8bafa5 100644 --- a/drivers/leds/leds-asic3.c +++ b/drivers/leds/leds-asic3.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2011 Paul Parsons <lost.distance@yahoo.com> | 3 | * Copyright (C) 2011 Paul Parsons <lost.distance@yahoo.com> |
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/leds/leds-bd2802.c b/drivers/leds/leds-bd2802.c index 6b4de762a760..e7ec6bff2b5f 100644 --- a/drivers/leds/leds-bd2802.c +++ b/drivers/leds/leds-bd2802.c | |||
@@ -1,15 +1,11 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * leds-bd2802.c - RGB LED Driver | 3 | * leds-bd2802.c - RGB LED Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2009 Samsung Electronics | 5 | * Copyright (C) 2009 Samsung Electronics |
5 | * Kim Kyuwon <q1.kim@samsung.com> | 6 | * Kim Kyuwon <q1.kim@samsung.com> |
6 | * | 7 | * |
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 | * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf | 8 | * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf |
12 | * | ||
13 | */ | 9 | */ |
14 | 10 | ||
15 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c index 5ff7d72f73aa..ed1b303f699f 100644 --- a/drivers/leds/leds-da903x.c +++ b/drivers/leds/leds-da903x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LEDs driver for Dialog Semiconductor DA9030/DA9034 | 3 | * LEDs driver for Dialog Semiconductor DA9030/DA9034 |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Copyright (C) 2006-2008 Marvell International Ltd. | 8 | * Copyright (C) 2006-2008 Marvell International Ltd. |
8 | * Eric Miao <eric.miao@marvell.com> | 9 | * Eric Miao <eric.miao@marvell.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/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/leds/leds-fsg.c b/drivers/leds/leds-fsg.c index 257a813c73f3..bc6b420637d6 100644 --- a/drivers/leds/leds-fsg.c +++ b/drivers/leds/leds-fsg.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Driver for the Freecom FSG-3 | 3 | * LED Driver for the Freecom FSG-3 |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Based on leds-spitz.c | 9 | * Based on leds-spitz.c |
9 | * Copyright 2005-2006 Openedhand Ltd. | 10 | * Copyright 2005-2006 Openedhand Ltd. |
10 | * Author: Richard Purdie <rpurdie@openedhand.com> | 11 | * Author: Richard Purdie <rpurdie@openedhand.com> |
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/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c index 75717ba68ae0..b9187e71e0cf 100644 --- a/drivers/leds/leds-gpio-register.c +++ b/drivers/leds/leds-gpio-register.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2011 Pengutronix | 3 | * Copyright (C) 2011 Pengutronix |
3 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> | 4 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it under | ||
6 | * the terms of the GNU General Public License version 2 as published by the | ||
7 | * Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | #include <linux/err.h> | 6 | #include <linux/err.h> |
10 | #include <linux/leds.h> | 7 | #include <linux/leds.h> |
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 998f2ff6914d..bdc98ddca1dc 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LEDs driver for GPIOs | 3 | * LEDs driver for GPIOs |
3 | * | 4 | * |
4 | * Copyright (C) 2007 8D Technologies inc. | 5 | * Copyright (C) 2007 8D Technologies inc. |
5 | * Raphael Assenat <raph@8d.com> | 6 | * Raphael Assenat <raph@8d.com> |
6 | * Copyright (C) 2008 Freescale Semiconductor, Inc. | 7 | * Copyright (C) 2008 Freescale Semiconductor, Inc. |
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 | #include <linux/err.h> | 9 | #include <linux/err.h> |
14 | #include <linux/gpio.h> | 10 | #include <linux/gpio.h> |
diff --git a/drivers/leds/leds-hp6xx.c b/drivers/leds/leds-hp6xx.c index 137969fcecbb..54af9e63c09c 100644 --- a/drivers/leds/leds-hp6xx.c +++ b/drivers/leds/leds-hp6xx.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Triggers Core | 3 | * LED Triggers Core |
3 | * For the HP Jornada 620/660/680/690 handhelds | 4 | * For the HP Jornada 620/660/680/690 handhelds |
4 | * | 5 | * |
5 | * Copyright 2008 Kristoffer Ericson <kristoffer.ericson@gmail.com> | 6 | * Copyright 2008 Kristoffer Ericson <kristoffer.ericson@gmail.com> |
6 | * this driver is based on leds-spitz.c by Richard Purdie. | 7 | * this driver is based on leds-spitz.c by Richard Purdie. |
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/leds/leds-ipaq-micro.c b/drivers/leds/leds-ipaq-micro.c index 02f17331379d..504a95b6ef45 100644 --- a/drivers/leds/leds-ipaq-micro.c +++ b/drivers/leds/leds-ipaq-micro.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License version 2 as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * h3xxx atmel micro companion support, notification LED subdevice | 4 | * h3xxx atmel micro companion support, notification LED subdevice |
7 | * | 5 | * |
diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index 31a9d749c8be..6fbab70dfb04 100644 --- a/drivers/leds/leds-is31fl32xx.c +++ b/drivers/leds/leds-is31fl32xx.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for ISSI IS31FL32xx family of I2C LED controllers | 3 | * Driver for ISSI IS31FL32xx family of I2C LED controllers |
3 | * | 4 | * |
4 | * Copyright 2015 Allworx Corp. | 5 | * Copyright 2015 Allworx Corp. |
5 | * | 6 | * |
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 | * Datasheets: | 7 | * Datasheets: |
12 | * http://www.issi.com/US/product-analog-fxled-driver.shtml | 8 | * http://www.issi.com/US/product-analog-fxled-driver.shtml |
13 | * http://www.si-en.com/product.asp?parentid=890 | 9 | * http://www.si-en.com/product.asp?parentid=890 |
diff --git a/drivers/leds/leds-ktd2692.c b/drivers/leds/leds-ktd2692.c index 45296aaca9da..f63918206bfb 100644 --- a/drivers/leds/leds-ktd2692.c +++ b/drivers/leds/leds-ktd2692.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED driver : leds-ktd2692.c | 3 | * LED driver : leds-ktd2692.c |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Samsung Electronics | 5 | * Copyright (C) 2015 Samsung Electronics |
5 | * Ingi Kim <ingi2.kim@samsung.com> | 6 | * Ingi Kim <ingi2.kim@samsung.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/delay.h> | 9 | #include <linux/delay.h> |
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c index 6cb94f9a2f3f..a5abb499574b 100644 --- a/drivers/leds/leds-lm355x.c +++ b/drivers/leds/leds-lm355x.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Simple driver for Texas Instruments LM355x LED Flash driver chip | 3 | * Simple driver for Texas Instruments LM355x LED Flash driver chip |
3 | * Copyright (C) 2012 Texas Instruments | 4 | * Copyright (C) 2012 Texas Instruments |
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/module.h> | 7 | #include <linux/module.h> |
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c index cada0848db7b..480575442ed8 100644 --- a/drivers/leds/leds-lm3642.c +++ b/drivers/leds/leds-lm3642.c | |||
@@ -1,11 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Simple driver for Texas Instruments LM3642 LED Flash driver chip | 3 | * Simple driver for Texas Instruments LM3642 LED Flash driver chip |
3 | * Copyright (C) 2012 Texas Instruments | 4 | * Copyright (C) 2012 Texas Instruments |
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 | * | ||
9 | */ | 5 | */ |
10 | #include <linux/module.h> | 6 | #include <linux/module.h> |
11 | #include <linux/delay.h> | 7 | #include <linux/delay.h> |
diff --git a/drivers/leds/leds-locomo.c b/drivers/leds/leds-locomo.c index 24c4b53a6b93..42dc46e3f00f 100644 --- a/drivers/leds/leds-locomo.c +++ b/drivers/leds/leds-locomo.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/drivers/leds/leds-locomo.c | 3 | * linux/drivers/leds/leds-locomo.c |
3 | * | 4 | * |
4 | * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> | 5 | * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> |
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/leds/leds-lp3944.c b/drivers/leds/leds-lp3944.c index be60c181222a..838e6f19d37e 100644 --- a/drivers/leds/leds-lp3944.c +++ b/drivers/leds/leds-lp3944.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * leds-lp3944.c - driver for National Semiconductor LP3944 Funlight Chip | 3 | * leds-lp3944.c - driver for National Semiconductor LP3944 Funlight Chip |
3 | * | 4 | * |
4 | * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it> | 5 | * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it> |
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 | /* | 8 | /* |
diff --git a/drivers/leds/leds-lp3952.c b/drivers/leds/leds-lp3952.c index 847f7f282126..4e4e542774cb 100644 --- a/drivers/leds/leds-lp3952.c +++ b/drivers/leds/leds-lp3952.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED driver for TI lp3952 controller | 3 | * LED driver for TI lp3952 controller |
3 | * | 4 | * |
4 | * Copyright (C) 2016, DAQRI, LLC. | 5 | * Copyright (C) 2016, DAQRI, LLC. |
5 | * Author: Tony Makkiel <tony.makkiel@daqri.com> | 6 | * Author: Tony Makkiel <tony.makkiel@daqri.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/delay.h> | 9 | #include <linux/delay.h> |
diff --git a/drivers/leds/leds-lp5562.c b/drivers/leds/leds-lp5562.c index 2a9009fe5545..37632fc63741 100644 --- a/drivers/leds/leds-lp5562.c +++ b/drivers/leds/leds-lp5562.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LP5562 LED driver | 3 | * LP5562 LED driver |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Texas Instruments | 5 | * Copyright (C) 2013 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@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/delay.h> | 10 | #include <linux/delay.h> |
diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c index 723f2f17497a..44ced02b49f9 100644 --- a/drivers/leds/leds-lp55xx-common.c +++ b/drivers/leds/leds-lp55xx-common.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LP5521/LP5523/LP55231/LP5562 Common Driver | 3 | * LP5521/LP5523/LP55231/LP5562 Common Driver |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
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 | * Derived from leds-lp5521.c, leds-lp5523.c | 9 | * Derived from leds-lp5521.c, leds-lp5523.c |
13 | */ | 10 | */ |
14 | 11 | ||
diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers/leds/leds-lp55xx-common.h index abf1fb5da37d..783ed5103ce5 100644 --- a/drivers/leds/leds-lp55xx-common.h +++ b/drivers/leds/leds-lp55xx-common.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * LP55XX Common Driver Header | 3 | * LP55XX Common Driver Header |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * version 2 as published by the Free Software Foundation. | ||
11 | * | ||
12 | * Derived from leds-lp5521.c, leds-lp5523.c | 9 | * Derived from leds-lp5521.c, leds-lp5523.c |
13 | */ | 10 | */ |
14 | 11 | ||
diff --git a/drivers/leds/leds-lp8501.c b/drivers/leds/leds-lp8501.c index 4c800b5989a9..2638dbf0e8ac 100644 --- a/drivers/leds/leds-lp8501.c +++ b/drivers/leds/leds-lp8501.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI LP8501 9 channel LED Driver | 3 | * TI LP8501 9 channel LED Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Texas Instruments | 5 | * Copyright (C) 2013 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * version 2 as published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c index 38c253a43700..9b9525ccca15 100644 --- a/drivers/leds/leds-lp8788.c +++ b/drivers/leds/leds-lp8788.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI LP8788 MFD - keyled driver | 3 | * TI LP8788 MFD - keyled driver |
3 | * | 4 | * |
4 | * Copyright 2012 Texas Instruments | 5 | * Copyright 2012 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@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 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/drivers/leds/leds-lp8860.c b/drivers/leds/leds-lp8860.c index 39c72a908f3b..ed680d0c15b0 100644 --- a/drivers/leds/leds-lp8860.c +++ b/drivers/leds/leds-lp8860.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI LP8860 4-Channel LED Driver | 3 | * TI LP8860 4-Channel LED Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2014 Texas Instruments | 5 | * Copyright (C) 2014 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Dan Murphy <dmurphy@ti.com> | 7 | * Author: Dan Murphy <dmurphy@ti.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * version 2 as published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/i2c.h> | 10 | #include <linux/i2c.h> |
diff --git a/drivers/leds/leds-max77693.c b/drivers/leds/leds-max77693.c index adf0f191f794..fec56090c2ba 100644 --- a/drivers/leds/leds-max77693.c +++ b/drivers/leds/leds-max77693.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Flash class driver for the flash cell of max77693 mfd. | 3 | * LED Flash class driver for the flash cell of max77693 mfd. |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Authors: Jacek Anaszewski <j.anaszewski@samsung.com> | 7 | * Authors: Jacek Anaszewski <j.anaszewski@samsung.com> |
7 | * Andrzej Hajda <a.hajda@samsung.com> | 8 | * Andrzej Hajda <a.hajda@samsung.com> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or | ||
10 | * modify it under the terms of the GNU General Public License | ||
11 | * version 2 as published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/led-class-flash.h> | 11 | #include <linux/led-class-flash.h> |
diff --git a/drivers/leds/leds-max8997.c b/drivers/leds/leds-max8997.c index 8c019c28f9f5..512a11d142d0 100644 --- a/drivers/leds/leds-max8997.c +++ b/drivers/leds/leds-max8997.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * leds-max8997.c - LED class driver for MAX8997 LEDs. | 3 | * leds-max8997.c - LED class driver for MAX8997 LEDs. |
3 | * | 4 | * |
4 | * Copyright (C) 2011 Samsung Electronics | 5 | * Copyright (C) 2011 Samsung Electronics |
5 | * Donggeun Kim <dg77.kim@samsung.com> | 6 | * Donggeun Kim <dg77.kim@samsung.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/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index 47ad7de9553c..5cd810c545f3 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LEDs driver for Freescale MC13783/MC13892/MC34708 | 3 | * LEDs driver for Freescale MC13783/MC13892/MC34708 |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * | 10 | * |
10 | * Copyright (C) 2006-2008 Marvell International Ltd. | 11 | * Copyright (C) 2006-2008 Marvell International Ltd. |
11 | * Eric Miao <eric.miao@marvell.com> | 12 | * Eric Miao <eric.miao@marvell.com> |
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/module.h> | 15 | #include <linux/module.h> |
diff --git a/drivers/leds/leds-net48xx.c b/drivers/leds/leds-net48xx.c index 0d214c2e403c..a93468c13772 100644 --- a/drivers/leds/leds-net48xx.c +++ b/drivers/leds/leds-net48xx.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LEDs driver for Soekris net48xx | 3 | * LEDs driver for Soekris net48xx |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Chris Boot <bootc@bootc.net> | 5 | * Copyright (C) 2006 Chris Boot <bootc@bootc.net> |
5 | * | 6 | * |
6 | * Based on leds-ams-delta.c | 7 | * Based on leds-ams-delta.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/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index af08bcdc4fd8..9328193189ba 100644 --- a/drivers/leds/leds-pwm.c +++ b/drivers/leds/leds-pwm.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/drivers/leds-pwm.c | 3 | * linux/drivers/leds-pwm.c |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright 2009 Luotao Fu @ Pengutronix (l.fu@pengutronix.de) | 7 | * Copyright 2009 Luotao Fu @ Pengutronix (l.fu@pengutronix.de) |
7 | * | 8 | * |
8 | * based on leds-gpio.c by Raphael Assenat <raph@8d.com> | 9 | * based on leds-gpio.c by Raphael Assenat <raph@8d.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/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/leds/leds-regulator.c b/drivers/leds/leds-regulator.c index acf77ca47558..208c98918433 100644 --- a/drivers/leds/leds-regulator.c +++ b/drivers/leds/leds-regulator.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * leds-regulator.c - LED class driver for regulator driven LEDs. | 3 | * leds-regulator.c - LED class driver for regulator driven LEDs. |
3 | * | 4 | * |
4 | * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it> | 5 | * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it> |
5 | * | 6 | * |
6 | * Inspired by leds-wm8350 driver. | 7 | * Inspired by leds-wm8350 driver. |
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/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c index 404da451cb88..f8b8d6e313ee 100644 --- a/drivers/leds/leds-s3c24xx.c +++ b/drivers/leds/leds-s3c24xx.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* drivers/leds/leds-s3c24xx.c | 2 | /* drivers/leds/leds-s3c24xx.c |
2 | * | 3 | * |
3 | * (c) 2006 Simtec Electronics | 4 | * (c) 2006 Simtec Electronics |
@@ -5,10 +6,6 @@ | |||
5 | * Ben Dooks <ben@simtec.co.uk> | 6 | * Ben Dooks <ben@simtec.co.uk> |
6 | * | 7 | * |
7 | * S3C24XX - LEDs GPIO driver | 8 | * S3C24XX - LEDs GPIO driver |
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/kernel.h> | 11 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds-wm831x-status.c b/drivers/leds/leds-wm831x-status.c index c5798b92e4d3..082df7f1dd90 100644 --- a/drivers/leds/leds-wm831x-status.c +++ b/drivers/leds/leds-wm831x-status.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED driver for WM831x status LEDs | 3 | * LED driver for WM831x status LEDs |
3 | * | 4 | * |
4 | * Copyright(C) 2009 Wolfson Microelectronics PLC. | 5 | * Copyright(C) 2009 Wolfson Microelectronics PLC. |
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/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds-wm8350.c b/drivers/leds/leds-wm8350.c index e1e4e9d0b8b1..8f243c413723 100644 --- a/drivers/leds/leds-wm8350.c +++ b/drivers/leds/leds-wm8350.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED driver for WM8350 driven LEDS. | 3 | * LED driver for WM8350 driven LEDS. |
3 | * | 4 | * |
4 | * Copyright(C) 2007, 2008 Wolfson Microelectronics PLC. | 5 | * Copyright(C) 2007, 2008 Wolfson Microelectronics PLC. |
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/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds-wrap.c b/drivers/leds/leds-wrap.c index 473fb6b97ed4..794697e16068 100644 --- a/drivers/leds/leds-wrap.c +++ b/drivers/leds/leds-wrap.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LEDs driver for PCEngines WRAP | 3 | * LEDs driver for PCEngines WRAP |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Kristian Kielhofner <kris@krisk.org> | 5 | * Copyright (C) 2006 Kristian Kielhofner <kris@krisk.org> |
5 | * | 6 | * |
6 | * Based on leds-net48xx.c | 7 | * Based on leds-net48xx.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/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/leds/leds.h b/drivers/leds/leds.h index 7d38e6b9a740..47b229469069 100644 --- a/drivers/leds/leds.h +++ b/drivers/leds/leds.h | |||
@@ -1,14 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * LED Core | 3 | * LED Core |
3 | * | 4 | * |
4 | * Copyright 2005 Openedhand Ltd. | 5 | * Copyright 2005 Openedhand Ltd. |
5 | * | 6 | * |
6 | * Author: Richard Purdie <rpurdie@openedhand.com> | 7 | * Author: Richard Purdie <rpurdie@openedhand.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 | #ifndef __LEDS_H_INCLUDED | 9 | #ifndef __LEDS_H_INCLUDED |
14 | #define __LEDS_H_INCLUDED | 10 | #define __LEDS_H_INCLUDED |
diff --git a/drivers/leds/trigger/ledtrig-activity.c b/drivers/leds/trigger/ledtrig-activity.c index bcbf41c90c30..4c8b0c3cf284 100644 --- a/drivers/leds/trigger/ledtrig-activity.c +++ b/drivers/leds/trigger/ledtrig-activity.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Activity LED trigger | 3 | * Activity LED trigger |
3 | * | 4 | * |
4 | * Copyright (C) 2017 Willy Tarreau <w@1wt.eu> | 5 | * Copyright (C) 2017 Willy Tarreau <w@1wt.eu> |
5 | * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c. | 6 | * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c. |
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/init.h> | 9 | #include <linux/init.h> |
diff --git a/drivers/leds/trigger/ledtrig-backlight.c b/drivers/leds/trigger/ledtrig-backlight.c index c2b57beef718..487577d22cfc 100644 --- a/drivers/leds/trigger/ledtrig-backlight.c +++ b/drivers/leds/trigger/ledtrig-backlight.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Backlight emulation LED trigger | 3 | * Backlight emulation LED trigger |
3 | * | 4 | * |
4 | * Copyright 2008 (C) Rodolfo Giometti <giometti@linux.it> | 5 | * Copyright 2008 (C) Rodolfo Giometti <giometti@linux.it> |
5 | * Copyright 2008 (C) Eurotech S.p.A. <info@eurotech.it> | 6 | * Copyright 2008 (C) Eurotech S.p.A. <info@eurotech.it> |
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/leds/trigger/ledtrig-camera.c b/drivers/leds/trigger/ledtrig-camera.c index 091a09a20c58..ab1c410872ff 100644 --- a/drivers/leds/trigger/ledtrig-camera.c +++ b/drivers/leds/trigger/ledtrig-camera.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Camera Flash and Torch On/Off Trigger | 3 | * Camera Flash and Torch On/Off Trigger |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright 2013 Texas Instruments | 7 | * Copyright 2013 Texas Instruments |
7 | * | 8 | * |
8 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 9 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/leds/trigger/ledtrig-cpu.c b/drivers/leds/trigger/ledtrig-cpu.c index 66a626091936..869976d1b734 100644 --- a/drivers/leds/trigger/ledtrig-cpu.c +++ b/drivers/leds/trigger/ledtrig-cpu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ledtrig-cpu.c - LED trigger based on CPU activity | 3 | * ledtrig-cpu.c - LED trigger based on CPU activity |
3 | * | 4 | * |
@@ -12,11 +13,6 @@ | |||
12 | * | 13 | * |
13 | * Copyright 2011 Linus Walleij <linus.walleij@linaro.org> | 14 | * Copyright 2011 Linus Walleij <linus.walleij@linaro.org> |
14 | * Copyright 2011 - 2012 Bryan Wu <bryan.wu@canonical.com> | 15 | * Copyright 2011 - 2012 Bryan Wu <bryan.wu@canonical.com> |
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 | * | ||
20 | */ | 16 | */ |
21 | 17 | ||
22 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
diff --git a/drivers/leds/trigger/ledtrig-default-on.c b/drivers/leds/trigger/ledtrig-default-on.c index 7f6d9219711e..8207f85eceb1 100644 --- a/drivers/leds/trigger/ledtrig-default-on.c +++ b/drivers/leds/trigger/ledtrig-default-on.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Kernel Default ON Trigger | 3 | * LED Kernel Default ON Trigger |
3 | * | 4 | * |
4 | * Copyright 2008 Nick Forbes <nick.forbes@incepta.com> | 5 | * Copyright 2008 Nick Forbes <nick.forbes@incepta.com> |
5 | * | 6 | * |
6 | * Based on Richard Purdie's ledtrig-timer.c. | 7 | * Based on Richard Purdie's ledtrig-timer.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/module.h> | 10 | #include <linux/module.h> |
diff --git a/drivers/leds/trigger/ledtrig-disk.c b/drivers/leds/trigger/ledtrig-disk.c index 9816b0d60270..0741910785bb 100644 --- a/drivers/leds/trigger/ledtrig-disk.c +++ b/drivers/leds/trigger/ledtrig-disk.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Disk Activity Trigger | 3 | * LED Disk Activity Trigger |
3 | * | 4 | * |
4 | * Copyright 2006 Openedhand Ltd. | 5 | * Copyright 2006 Openedhand Ltd. |
5 | * | 6 | * |
6 | * Author: Richard Purdie <rpurdie@openedhand.com> | 7 | * Author: Richard Purdie <rpurdie@openedhand.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/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/leds/trigger/ledtrig-gpio.c b/drivers/leds/trigger/ledtrig-gpio.c index ed0db8ed825f..33cc99a1a16a 100644 --- a/drivers/leds/trigger/ledtrig-gpio.c +++ b/drivers/leds/trigger/ledtrig-gpio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ledtrig-gio.c - LED Trigger Based on GPIO events | 3 | * ledtrig-gio.c - LED Trigger Based on GPIO events |
3 | * | 4 | * |
4 | * Copyright 2009 Felipe Balbi <me@felipebalbi.com> | 5 | * Copyright 2009 Felipe Balbi <me@felipebalbi.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/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/leds/trigger/ledtrig-heartbeat.c b/drivers/leds/trigger/ledtrig-heartbeat.c index 7a2b12e19329..36b6709afe9f 100644 --- a/drivers/leds/trigger/ledtrig-heartbeat.c +++ b/drivers/leds/trigger/ledtrig-heartbeat.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Heartbeat Trigger | 3 | * LED Heartbeat Trigger |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on Richard Purdie's ledtrig-timer.c and some arch's | 7 | * Based on Richard Purdie's ledtrig-timer.c and some arch's |
7 | * CONFIG_HEARTBEAT code. | 8 | * CONFIG_HEARTBEAT code. |
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/leds/trigger/ledtrig-mtd.c b/drivers/leds/trigger/ledtrig-mtd.c index 99b5b0a4d826..8fa763c2269b 100644 --- a/drivers/leds/trigger/ledtrig-mtd.c +++ b/drivers/leds/trigger/ledtrig-mtd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED MTD trigger | 3 | * LED MTD trigger |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Copyright 2006 Openedhand Ltd. | 9 | * Copyright 2006 Openedhand Ltd. |
9 | * | 10 | * |
10 | * Author: Richard Purdie <rpurdie@openedhand.com> | 11 | * Author: Richard Purdie <rpurdie@openedhand.com> |
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/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/drivers/leds/trigger/ledtrig-oneshot.c b/drivers/leds/trigger/ledtrig-oneshot.c index 8808f0ad7339..bee3bd452abf 100644 --- a/drivers/leds/trigger/ledtrig-oneshot.c +++ b/drivers/leds/trigger/ledtrig-oneshot.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * One-shot LED Trigger | 3 | * One-shot LED Trigger |
3 | * | 4 | * |
4 | * Copyright 2012, Fabio Baltieri <fabio.baltieri@gmail.com> | 5 | * Copyright 2012, Fabio Baltieri <fabio.baltieri@gmail.com> |
5 | * | 6 | * |
6 | * Based on ledtrig-timer.c by Richard Purdie <rpurdie@openedhand.com> | 7 | * Based on ledtrig-timer.c by Richard Purdie <rpurdie@openedhand.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/leds/trigger/ledtrig-panic.c b/drivers/leds/trigger/ledtrig-panic.c index d735526b9db4..5751cd032f9d 100644 --- a/drivers/leds/trigger/ledtrig-panic.c +++ b/drivers/leds/trigger/ledtrig-panic.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel Panic LED Trigger | 3 | * Kernel Panic LED Trigger |
3 | * | 4 | * |
4 | * Copyright 2016 Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 5 | * Copyright 2016 Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> |
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/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/leds/trigger/ledtrig-timer.c b/drivers/leds/trigger/ledtrig-timer.c index 427fc3c303d5..34a68604c46c 100644 --- a/drivers/leds/trigger/ledtrig-timer.c +++ b/drivers/leds/trigger/ledtrig-timer.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * LED Kernel Timer Trigger | 3 | * LED Kernel Timer Trigger |
3 | * | 4 | * |
4 | * Copyright 2005-2006 Openedhand Ltd. | 5 | * Copyright 2005-2006 Openedhand Ltd. |
5 | * | 6 | * |
6 | * Author: Richard Purdie <rpurdie@openedhand.com> | 7 | * Author: Richard Purdie <rpurdie@openedhand.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> |