Skip to content

Commit

Permalink
leds: ledtrig-transient: Add SPDX license identifiers
Browse files Browse the repository at this point in the history
Replace GPL license statements with SPDX GPL-2.0 license identifiers
and correct the module license to GPLv2.

Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Jacek Anaszewski <[email protected]>
  • Loading branch information
Shuah Khan authored and jacek-anaszewski committed Jan 11, 2018
1 parent a2169c9 commit 6a83663
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions drivers/leds/trigger/ledtrig-transient.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
/*
* LED Kernel Transient Trigger
*
* Copyright (C) 2012 Shuah Khan <[email protected]>
*
* Based on Richard Purdie's ledtrig-timer.c and Atsushi Nemoto's
* ledtrig-heartbeat.c
* Design and use-case input from Jonas Bonn <[email protected]> and
* Neil Brown <[email protected]>
*
* 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.
*
*/
/*
* Transient trigger allows one shot timer activation. Please refer to
* Documentation/leds/ledtrig-transient.txt for details
*/
// SPDX-License-Identifier: GPL-2.0
//
// LED Kernel Transient Trigger
//
// Transient trigger allows one shot timer activation. Please refer to
// Documentation/leds/ledtrig-transient.txt for details
// Copyright (C) 2012 Shuah Khan <[email protected]>
//
// Based on Richard Purdie's ledtrig-timer.c and Atsushi Nemoto's
// ledtrig-heartbeat.c
// Design and use-case input from Jonas Bonn <[email protected]> and
// Neil Brown <[email protected]>

#include <linux/module.h>
#include <linux/kernel.h>
Expand Down Expand Up @@ -238,4 +231,4 @@ module_exit(transient_trig_exit);

MODULE_AUTHOR("Shuah Khan <[email protected]>");
MODULE_DESCRIPTION("Transient LED trigger");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");

0 comments on commit 6a83663

Please sign in to comment.