Skip to content

Commit

Permalink
leds: triggers: make the MODULE_LICENSE string match the actual license
Browse files Browse the repository at this point in the history
These files are licensed under GPL version 2 only. So use "GPL v2"
instead of "GPL" (which means v2 or later).

Also remove an empty (but commented) line at the end of the license
header which nicely proves in the context that the drivers are really v2
only :-)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
  • Loading branch information
Uwe Kleine-König authored and jacek-anaszewski committed Jul 5, 2018
1 parent 07abd43 commit 033692e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions drivers/leds/trigger/ledtrig-activity.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kernel_stat.h>
Expand Down Expand Up @@ -269,4 +269,4 @@ module_exit(activity_exit);

MODULE_AUTHOR("Willy Tarreau <w@1wt.eu>");
MODULE_DESCRIPTION("Activity LED trigger");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");
3 changes: 1 addition & 2 deletions drivers/leds/trigger/ledtrig-camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <linux/module.h>
Expand Down Expand Up @@ -54,4 +53,4 @@ module_exit(ledtrig_camera_exit);

MODULE_DESCRIPTION("LED Trigger for Camera Flash/Torch Control");
MODULE_AUTHOR("Milo Kim");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");
3 changes: 1 addition & 2 deletions drivers/leds/trigger/ledtrig-default-on.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <linux/module.h>
Expand Down Expand Up @@ -42,4 +41,4 @@ module_exit(defon_trig_exit);

MODULE_AUTHOR("Nick Forbes <nick.forbes@incepta.com>");
MODULE_DESCRIPTION("Default-ON LED trigger");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");
3 changes: 1 addition & 2 deletions drivers/leds/trigger/ledtrig-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <linux/module.h>
Expand Down Expand Up @@ -235,4 +234,4 @@ module_exit(gpio_trig_exit);

MODULE_AUTHOR("Felipe Balbi <me@felipebalbi.com>");
MODULE_DESCRIPTION("GPIO LED trigger");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");
4 changes: 2 additions & 2 deletions drivers/leds/trigger/ledtrig-heartbeat.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
Expand Down Expand Up @@ -213,4 +213,4 @@ module_exit(heartbeat_trig_exit);

MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
MODULE_DESCRIPTION("Heartbeat LED trigger");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");
3 changes: 1 addition & 2 deletions drivers/leds/trigger/ledtrig-timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <linux/module.h>
Expand Down Expand Up @@ -127,4 +126,4 @@ module_exit(timer_trig_exit);

MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>");
MODULE_DESCRIPTION("Timer LED trigger");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");

0 comments on commit 033692e

Please sign in to comment.