| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 89 |
| Date: Tue, 07 May 2019 12:01:48 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 1 normalized pattern(s): |
| |
| this program is free software you can redistribute it and or modify |
| it under the terms of the gnu general public license version 2 or |
| later as published by the free software foundation this program is |
| distributed in the hope that it will be useful but without any |
| warranty without even the implied warranty of merchantability or |
| fitness for a particular purpose see the gnu general public license |
| for more details |
| |
| |
| |
| extracted by the scancode license scanner the SPDX license identifier |
| |
| GPL-2.0-or-later |
| |
| has been chosen to replace the boilerplate/reference in 6 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/drivers/leds/leds-cpcap.c |
| +++ b/drivers/leds/leds-cpcap.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Copyright (c) 2017 Sebastian Reichel <sre@kernel.org> |
| - * |
| - * This program is free software; you can redistribute it and/or modify |
| - * it under the terms of the GNU General Public License version 2 or |
| - * later as published by the Free Software Foundation. |
| - * |
| - * This program is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| */ |
| |
| #include <linux/leds.h> |
| |
| |
| --- a/tools/thermal/tmon/pid.c |
| +++ b/tools/thermal/tmon/pid.c |
| @@ -1,21 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * pid.c PID controller for testing cooling devices |
| * |
| - * |
| - * |
| * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License version |
| - * 2 or later as published by the Free Software Foundation. |
| - * |
| - * This program is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com> |
| - * |
| */ |
| |
| #include <unistd.h> |
| |
| |
| --- a/tools/thermal/tmon/sysfs.c |
| +++ b/tools/thermal/tmon/sysfs.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * sysfs.c sysfs ABI access functions for TMON program |
| * |
| * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License version |
| - * 2 or later as published by the Free Software Foundation. |
| - * |
| - * This program is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| * Author: Jacob Pan <jacob.jun.pan@linux.intel.com> |
| - * |
| */ |
| #include <unistd.h> |
| #include <stdio.h> |
| |
| |
| --- a/tools/thermal/tmon/tmon.c |
| +++ b/tools/thermal/tmon/tmon.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * tmon.c Thermal Monitor (TMON) main function and entry point |
| * |
| * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License version |
| - * 2 or later as published by the Free Software Foundation. |
| - * |
| - * This program is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| * Author: Jacob Pan <jacob.jun.pan@linux.intel.com> |
| - * |
| */ |
| |
| #include <getopt.h> |
| |
| |
| --- a/tools/thermal/tmon/tmon.h |
| +++ b/tools/thermal/tmon/tmon.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * tmon.h contains data structures and constants used by TMON |
| * |
| * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License version |
| - * 2 or later as published by the Free Software Foundation. |
| - * |
| - * This program is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com> |
| - * |
| */ |
| |
| #ifndef TMON_H |
| |
| |
| --- a/tools/thermal/tmon/tui.c |
| +++ b/tools/thermal/tmon/tui.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * tui.c ncurses text user interface for TMON program |
| * |
| * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License version |
| - * 2 or later as published by the Free Software Foundation. |
| - * |
| - * This program is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| * Author: Jacob Pan <jacob.jun.pan@linux.intel.com> |
| - * |
| */ |
| |
| #include <unistd.h> |
| |
| |