| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 175 |
| Date: Wed, 08 May 2019 11:58:45 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 2 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 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 |
| |
| |
| 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 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-only |
| |
| has been chosen to replace the boilerplate/reference in 664 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/arch/arc/plat-axs10x/axs10x.c |
| +++ b/arch/arc/plat-axs10x/axs10x.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * AXS101/AXS103 Software Development Platform |
| * |
| * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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/of_fdt.h> |
| |
| |
| --- a/arch/arm/boot/dts/mt2701-pinfunc.h |
| +++ b/arch/arm/boot/dts/mt2701-pinfunc.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Biao Huang <biao.huang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DTS_MT2701_PINFUNC_H |
| |
| |
| --- a/arch/arm/boot/dts/mt8135-pinfunc.h |
| +++ b/arch/arm/boot/dts/mt8135-pinfunc.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DTS_MT8135_PINFUNC_H |
| |
| |
| --- a/arch/arm/common/vlock.h |
| +++ b/arch/arm/common/vlock.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * vlock.h - simple voting lock implementation |
| * |
| * Created by: Dave Martin, 2012-08-16 |
| * Copyright: (C) 2012-2013 Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __VLOCK_H |
| |
| |
| --- a/arch/arm/common/vlock.S |
| +++ b/arch/arm/common/vlock.S |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * vlock.S - simple voting lock implementation for ARM |
| * |
| * Created by: Dave Martin, 2012-08-16 |
| * Copyright: (C) 2012-2013 Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * |
| * This algorithm is described in more detail in |
| * Documentation/arm/vlocks.txt. |
| |
| |
| --- a/arch/arm/include/asm/kprobes.h |
| +++ b/arch/arm/include/asm/kprobes.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm/include/asm/kprobes.h |
| * |
| * Copyright (C) 2006, 2007 Motorola Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ARM_KPROBES_H |
| |
| |
| --- a/arch/arm/include/asm/opcodes-sec.h |
| +++ b/arch/arm/include/asm/opcodes-sec.h |
| @@ -1,12 +1,5 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/arch/arm/include/asm/probes.h |
| +++ b/arch/arm/include/asm/probes.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm/include/asm/probes.h |
| * |
| @@ -5,15 +6,6 @@ |
| * which contains the following notice... |
| * |
| * Copyright (C) 2006, 2007 Motorola Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ASM_PROBES_H |
| |
| |
| --- a/arch/arm/include/asm/psci.h |
| +++ b/arch/arm/include/asm/psci.h |
| @@ -1,12 +1,5 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/arch/arm/kernel/paravirt.c |
| +++ b/arch/arm/kernel/paravirt.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2013 Citrix Systems |
| * |
| |
| |
| --- a/arch/arm/kernel/psci_smp.c |
| +++ b/arch/arm/kernel/psci_smp.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| * |
| |
| |
| --- a/arch/arm/kernel/sigreturn_codes.S |
| +++ b/arch/arm/kernel/sigreturn_codes.S |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * sigreturn_codes.S - code sinpets for sigreturn syscalls |
| * |
| * Created by: Victor Kamensky, 2013-08-13 |
| * Copyright: (C) 2013 Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/assembler.h> |
| |
| |
| --- a/arch/arm/kvm/vgic-v3-coproc.c |
| +++ b/arch/arm/kvm/vgic-v3-coproc.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VGIC system registers handling functions for AArch32 mode |
| - * |
| - * 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. |
| - * |
| - * 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/kvm.h> |
| |
| |
| --- a/arch/arm/mach-mediatek/platsmp.c |
| +++ b/arch/arm/mach-mediatek/platsmp.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm/mach-mediatek/platsmp.c |
| * |
| * Copyright (c) 2014 Mediatek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| * Yingjoe Chen <yingjoe.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| #include <linux/memblock.h> |
| |
| |
| --- a/arch/arm/mach-vexpress/spc.h |
| +++ b/arch/arm/mach-vexpress/spc.h |
| @@ -1,12 +1,5 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/arch/arm/probes/decode-arm.c |
| +++ b/arch/arm/probes/decode-arm.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * arch/arm/probes/decode-arm.c |
| @@ -5,15 +6,6 @@ |
| * Some code moved here from arch/arm/kernel/kprobes-arm.c |
| * |
| * Copyright (C) 2006, 2007 Motorola Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/arch/arm/probes/decode.h |
| +++ b/arch/arm/probes/decode.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm/probes/decode.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Some contents moved here from arch/arm/include/asm/kprobes.h which is |
| * Copyright (C) 2006, 2007 Motorola Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ARM_KERNEL_PROBES_H |
| |
| |
| --- a/arch/arm/probes/kprobes/actions-arm.c |
| +++ b/arch/arm/probes/kprobes/actions-arm.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm/probes/kprobes/actions-arm.c |
| * |
| * Copyright (C) 2006, 2007 Motorola Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /* |
| |
| |
| --- a/arch/arm/probes/kprobes/checkers-arm.c |
| +++ b/arch/arm/probes/kprobes/checkers-arm.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm/probes/kprobes/checkers-arm.c |
| * |
| * Copyright (C) 2014 Huawei Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/arch/arm/probes/kprobes/checkers-common.c |
| +++ b/arch/arm/probes/kprobes/checkers-common.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm/probes/kprobes/checkers-common.c |
| * |
| * Copyright (C) 2014 Huawei Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/arch/arm/probes/kprobes/checkers-thumb.c |
| +++ b/arch/arm/probes/kprobes/checkers-thumb.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm/probes/kprobes/checkers-thumb.c |
| * |
| * Copyright (C) 2014 Huawei Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/arch/arm/probes/kprobes/checkers.h |
| +++ b/arch/arm/probes/kprobes/checkers.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm/probes/kprobes/checkers.h |
| * |
| * Copyright (C) 2014 Huawei Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef _ARM_KERNEL_PROBES_CHECKERS_H |
| #define _ARM_KERNEL_PROBES_CHECKERS_H |
| |
| |
| --- a/arch/arm/probes/kprobes/core.c |
| +++ b/arch/arm/probes/kprobes/core.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm/kernel/kprobes.c |
| * |
| @@ -8,15 +9,6 @@ |
| * |
| * Nicolas Pitre <nico@marvell.com> |
| * Copyright (C) 2007 Marvell Ltd. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/arch/arm/probes/kprobes/core.h |
| +++ b/arch/arm/probes/kprobes/core.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm/kernel/kprobes.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Some contents moved here from arch/arm/include/asm/kprobes.h which is |
| * Copyright (C) 2006, 2007 Motorola Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ARM_KERNEL_KPROBES_H |
| |
| |
| --- a/arch/arm64/boot/dts/mediatek/mt6755-evb.dts |
| +++ b/arch/arm64/boot/dts/mediatek/mt6755-evb.dts |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Mars.C <mars.cheng@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /dts-v1/; |
| |
| |
| --- a/arch/arm64/boot/dts/mediatek/mt6795-evb.dts |
| +++ b/arch/arm64/boot/dts/mediatek/mt6795-evb.dts |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Mars.C <mars.cheng@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /dts-v1/; |
| |
| |
| --- a/arch/arm64/boot/dts/mediatek/mt6797-evb.dts |
| +++ b/arch/arm64/boot/dts/mediatek/mt6797-evb.dts |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Mars.C <mars.cheng@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /dts-v1/; |
| |
| |
| --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts |
| +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Eddie Huang <eddie.huang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /dts-v1/; |
| |
| |
| --- a/arch/arm64/boot/dts/mediatek/mt8173-pinfunc.h |
| +++ b/arch/arm64/boot/dts/mediatek/mt8173-pinfunc.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DTS_MT8173_PINFUNC_H |
| |
| |
| --- a/arch/arm64/include/asm/hugetlb.h |
| +++ b/arch/arm64/include/asm/hugetlb.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm64/include/asm/hugetlb.h |
| * |
| * Copyright (C) 2013 Linaro Ltd. |
| * |
| * Based on arch/x86/include/asm/hugetlb.h |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __ASM_HUGETLB_H |
| |
| |
| --- a/arch/arm64/include/asm/kprobes.h |
| +++ b/arch/arm64/include/asm/kprobes.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm64/include/asm/kprobes.h |
| * |
| * Copyright (C) 2013 Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ARM_KPROBES_H |
| |
| |
| --- a/arch/arm64/include/asm/probes.h |
| +++ b/arch/arm64/include/asm/probes.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm64/include/asm/probes.h |
| * |
| * Copyright (C) 2013 Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef _ARM_PROBES_H |
| #define _ARM_PROBES_H |
| |
| |
| --- a/arch/arm64/kernel/paravirt.c |
| +++ b/arch/arm64/kernel/paravirt.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2013 Citrix Systems |
| * |
| |
| |
| --- a/arch/arm64/kernel/psci.c |
| +++ b/arch/arm64/kernel/psci.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2013 ARM Limited |
| * |
| |
| |
| --- a/arch/arm64/kernel/smccc-call.S |
| +++ b/arch/arm64/kernel/smccc-call.S |
| @@ -1,15 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015, Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| #include <linux/arm-smccc.h> |
| |
| |
| --- a/arch/arm64/kernel/probes/decode-insn.c |
| +++ b/arch/arm64/kernel/probes/decode-insn.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm64/kernel/probes/decode-insn.c |
| * |
| * Copyright (C) 2013 Linaro Limited. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/arch/arm64/kernel/probes/decode-insn.h |
| +++ b/arch/arm64/kernel/probes/decode-insn.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm64/kernel/probes/decode-insn.h |
| * |
| * Copyright (C) 2013 Linaro Limited. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ARM_KERNEL_KPROBES_ARM64_H |
| |
| |
| --- a/arch/arm64/kernel/probes/kprobes.c |
| +++ b/arch/arm64/kernel/probes/kprobes.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm64/kernel/probes/kprobes.c |
| * |
| @@ -5,16 +6,6 @@ |
| * |
| * Copyright (C) 2013 Linaro Limited. |
| * Author: Sandeepa Prabhu <sandeepa.prabhu@linaro.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 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/kasan.h> |
| #include <linux/kernel.h> |
| |
| |
| --- a/arch/arm64/kernel/probes/simulate-insn.c |
| +++ b/arch/arm64/kernel/probes/simulate-insn.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm64/kernel/probes/simulate-insn.c |
| * |
| * Copyright (C) 2013 Linaro Limited. |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| |
| |
| --- a/arch/arm64/kernel/probes/simulate-insn.h |
| +++ b/arch/arm64/kernel/probes/simulate-insn.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * arch/arm64/kernel/probes/simulate-insn.h |
| * |
| * Copyright (C) 2013 Linaro Limited |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ARM_KERNEL_KPROBES_SIMULATE_INSN_H |
| |
| |
| --- a/arch/arm64/kvm/vgic-sys-reg-v3.c |
| +++ b/arch/arm64/kvm/vgic-sys-reg-v3.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VGIC system registers handling functions for AArch64 mode |
| - * |
| - * 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. |
| - * |
| - * 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/irqchip/arm-gic-v3.h> |
| |
| |
| --- a/arch/arm64/mm/hugetlbpage.c |
| +++ b/arch/arm64/mm/hugetlbpage.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * arch/arm64/mm/hugetlbpage.c |
| * |
| * Copyright (C) 2013 Linaro Ltd. |
| * |
| * Based on arch/x86/mm/hugetlbpage.c. |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/arch/m68k/include/asm/mcfqspi.h |
| +++ b/arch/m68k/include/asm/mcfqspi.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Definitions for Freescale Coldfire QSPI module |
| * |
| * Copyright 2010 Steven King <sfking@fdwdc.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef mcfqspi_h |
| |
| |
| --- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S |
| +++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S |
| @@ -1,12 +1,5 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright 2011 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com> |
| * |
| |
| |
| --- a/arch/powerpc/kvm/tm.S |
| +++ b/arch/powerpc/kvm/tm.S |
| @@ -1,17 +1,9 @@ |
| -/* |
| - * 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. |
| - * |
| - * 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. |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| +/* |
| * |
| * Derived from book3s_hv_rmhandlers.S, which is: |
| * |
| * Copyright 2011 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com> |
| - * |
| */ |
| |
| #include <asm/reg.h> |
| |
| |
| --- a/arch/powerpc/platforms/powernv/opal-prd.c |
| +++ b/arch/powerpc/platforms/powernv/opal-prd.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * OPAL Runtime Diagnostics interface driver |
| * Supported on POWERNV platform |
| * |
| * Copyright IBM Corporation 2015 |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) "opal-prd: " fmt |
| |
| |
| --- a/arch/riscv/include/asm/kprobes.h |
| +++ b/arch/riscv/include/asm/kprobes.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copied from arch/arm64/include/asm/kprobes.h |
| * |
| * Copyright (C) 2013 Linaro Limited |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _RISCV_KPROBES_H |
| |
| |
| --- a/arch/riscv/kernel/smpboot.c |
| +++ b/arch/riscv/kernel/smpboot.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * SMP initialisation and IPI support |
| * Based on arch/arm64/kernel/smp.c |
| @@ -5,15 +6,6 @@ |
| * Copyright (C) 2012 ARM Ltd. |
| * Copyright (C) 2015 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/arch/riscv/kernel/stacktrace.c |
| +++ b/arch/riscv/kernel/stacktrace.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2008 ARM Limited |
| * Copyright (C) 2014 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/export.h> |
| |
| |
| --- a/crypto/zstd.c |
| +++ b/crypto/zstd.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Cryptographic API. |
| * |
| * Copyright (c) 2017-present, Facebook, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/crypto.h> |
| #include <linux/init.h> |
| |
| |
| --- a/drivers/acpi/acpi_lpat.c |
| +++ b/drivers/acpi/acpi_lpat.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * acpi_lpat.c - LPAT table processing functions |
| * |
| * Copyright (C) 2015 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 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/export.h> |
| |
| |
| --- a/drivers/acpi/acpi_lpit.c |
| +++ b/drivers/acpi/acpi_lpit.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| |
| /* |
| * acpi_lpit.c - LPIT table processing functions |
| * |
| * Copyright (C) 2017 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 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/cpu.h> |
| |
| |
| --- a/drivers/acpi/device_pm.c |
| +++ b/drivers/acpi/device_pm.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/acpi/device_pm.c - ACPI device power management routines. |
| * |
| @@ -5,15 +6,6 @@ |
| * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| */ |
| |
| |
| --- a/drivers/acpi/device_sysfs.c |
| +++ b/drivers/acpi/device_sysfs.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/acpi/device_sysfs.c - ACPI device sysfs attributes and modalias. |
| * |
| @@ -6,15 +7,6 @@ |
| * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| */ |
| |
| |
| --- a/drivers/acpi/hed.c |
| +++ b/drivers/acpi/hed.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ACPI Hardware Error Device (PNP0C33) Driver |
| * |
| @@ -6,15 +7,6 @@ |
| * |
| * ACPI Hardware Error Device is used to report some hardware errors |
| * notified via SCI, mainly the corrected errors. |
| - * |
| - * 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; |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/acpi/resource.c |
| +++ b/drivers/acpi/resource.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/acpi/resource.c - ACPI device resources interpretation. |
| * |
| @@ -5,15 +6,6 @@ |
| * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| */ |
| |
| |
| --- a/drivers/acpi/apei/apei-base.c |
| +++ b/drivers/acpi/apei/apei-base.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * apei-base.c - ACPI Platform Error Interface (APEI) supporting |
| * infrastructure |
| @@ -15,15 +16,6 @@ |
| * |
| * Copyright (C) 2009, Intel Corp. |
| * Author: Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/acpi/apei/einj.c |
| +++ b/drivers/acpi/apei/einj.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * APEI Error INJection support |
| * |
| @@ -9,15 +10,6 @@ |
| * |
| * Copyright 2009-2010 Intel Corp. |
| * Author: Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/acpi/apei/erst-dbg.c |
| +++ b/drivers/acpi/apei/erst-dbg.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * APEI Error Record Serialization Table debug support |
| * |
| @@ -8,15 +9,6 @@ |
| * |
| * Copyright 2010 Intel Corp. |
| * Author: Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/acpi/apei/erst.c |
| +++ b/drivers/acpi/apei/erst.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * APEI Error Record Serialization Table support |
| * |
| @@ -9,15 +10,6 @@ |
| * |
| * Copyright 2010 Intel Corp. |
| * Author: Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/acpi/apei/ghes.c |
| +++ b/drivers/acpi/apei/ghes.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * APEI Generic Hardware Error Source support |
| * |
| @@ -14,15 +15,6 @@ |
| * |
| * Copyright 2010,2011 Intel Corp. |
| * Author: Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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; |
| - * |
| - * 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/arm_sdei.h> |
| |
| |
| --- a/drivers/acpi/apei/hest.c |
| +++ b/drivers/acpi/apei/hest.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * APEI Hardware Error Souce Table support |
| * |
| @@ -12,15 +13,6 @@ |
| * |
| * Copyright 2009 Intel Corp. |
| * Author: Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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; |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/acpi/pmic/intel_pmic.c |
| +++ b/drivers/acpi/pmic/intel_pmic.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * intel_pmic.c - Intel PMIC operation region driver |
| * |
| * Copyright (C) 2014 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 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/export.h> |
| |
| |
| --- a/drivers/ata/ahci_mtk.c |
| +++ b/drivers/ata/ahci_mtk.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * MediaTek AHCI SATA driver |
| * |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Ryder Lee <ryder.lee@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/ahci_platform.h> |
| |
| |
| --- a/drivers/atm/solos-pci.c |
| +++ b/drivers/atm/solos-pci.c |
| @@ -1,8 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the Solos PCI ADSL2+ card, designed to support Linux by |
| * Traverse Technologies -- http://www.traverse.com.au/ |
| * Xrio Limited -- http://www.xrio.com/ |
| - * |
| * |
| * Copyright © 2008 Traverse Technologies |
| * Copyright © 2008 Intel Corporation |
| @@ -10,15 +10,6 @@ |
| * Authors: Nathan Williams <nathan@traverse.com.au> |
| * David Woodhouse <dwmw2@infradead.org> |
| * Treker Chen <treker@xrio.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define DEBUG |
| |
| |
| --- a/drivers/bus/brcmstb_gisb.c |
| +++ b/drivers/bus/brcmstb_gisb.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/bus/vexpress-config.c |
| +++ b/drivers/bus/vexpress-config.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2014 ARM Limited |
| */ |
| |
| |
| --- a/drivers/char/hw_random/ks-sa-rng.c |
| +++ b/drivers/char/hw_random/ks-sa-rng.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Random Number Generator driver for the Keystone SOC |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Authors: Sandeep Nair |
| * Vitaly Andrianov |
| - * |
| - * 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. |
| - * |
| - * 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/hw_random.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-apmixed.c |
| +++ b/drivers/clk/mediatek/clk-apmixed.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-cpumux.c |
| +++ b/drivers/clk/mediatek/clk-cpumux.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 Linaro Ltd. |
| * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.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 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-cpumux.h |
| +++ b/drivers/clk/mediatek/clk-cpumux.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 Linaro Ltd. |
| * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.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 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. |
| */ |
| |
| #ifndef __DRV_CLK_CPUMUX_H |
| |
| |
| --- a/drivers/clk/mediatek/clk-gate.c |
| +++ b/drivers/clk/mediatek/clk-gate.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/of.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-gate.h |
| +++ b/drivers/clk/mediatek/clk-gate.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DRV_CLK_GATE_H |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701-bdp.c |
| +++ b/drivers/clk/mediatek/clk-mt2701-bdp.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701-eth.c |
| +++ b/drivers/clk/mediatek/clk-mt2701-eth.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701-hif.c |
| +++ b/drivers/clk/mediatek/clk-mt2701-hif.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701-img.c |
| +++ b/drivers/clk/mediatek/clk-mt2701-img.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701-mm.c |
| +++ b/drivers/clk/mediatek/clk-mt2701-mm.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701-vdec.c |
| +++ b/drivers/clk/mediatek/clk-mt2701-vdec.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2701.c |
| +++ b/drivers/clk/mediatek/clk-mt2701.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-bdp.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-bdp.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-img.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-img.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-jpgdec.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-jpgdec.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-mfg.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-mfg.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-mm.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-mm.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-vdec.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-vdec.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712-venc.c |
| +++ b/drivers/clk/mediatek/clk-mt2712-venc.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt2712.c |
| +++ b/drivers/clk/mediatek/clk-mt2712.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt6797-img.c |
| +++ b/drivers/clk/mediatek/clk-mt6797-img.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* Copyright (c) 2017 MediaTek Inc. |
| * Author: Kevin Chen <kevin-cw.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt6797-mm.c |
| +++ b/drivers/clk/mediatek/clk-mt6797-mm.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Kevin Chen <kevin-cw.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt6797-vdec.c |
| +++ b/drivers/clk/mediatek/clk-mt6797-vdec.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Kevin-CW Chen <kevin-cw.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt6797-venc.c |
| +++ b/drivers/clk/mediatek/clk-mt6797-venc.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Kevin Chen <kevin-cw.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt6797.c |
| +++ b/drivers/clk/mediatek/clk-mt6797.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Kevin Chen <kevin-cw.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/of.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt7622-aud.c |
| +++ b/drivers/clk/mediatek/clk-mt7622-aud.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chen Zhong <chen.zhong@mediatek.com> |
| * Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt7622-eth.c |
| +++ b/drivers/clk/mediatek/clk-mt7622-eth.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chen Zhong <chen.zhong@mediatek.com> |
| * Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt7622-hif.c |
| +++ b/drivers/clk/mediatek/clk-mt7622-hif.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chen Zhong <chen.zhong@mediatek.com> |
| * Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt7622.c |
| +++ b/drivers/clk/mediatek/clk-mt7622.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chen Zhong <chen.zhong@mediatek.com> |
| * Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk-provider.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt8135.c |
| +++ b/drivers/clk/mediatek/clk-mt8135.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mt8173.c |
| +++ b/drivers/clk/mediatek/clk-mt8173.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mtk.c |
| +++ b/drivers/clk/mediatek/clk-mtk.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/of.h> |
| |
| |
| --- a/drivers/clk/mediatek/clk-mtk.h |
| +++ b/drivers/clk/mediatek/clk-mtk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DRV_CLK_MTK_H |
| |
| |
| --- a/drivers/clk/mediatek/clk-pll.c |
| +++ b/drivers/clk/mediatek/clk-pll.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/of.h> |
| |
| |
| --- a/drivers/clk/mediatek/reset.c |
| +++ b/drivers/clk/mediatek/reset.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/mfd/syscon.h> |
| |
| |
| --- a/drivers/clk/tegra/clk-dfll.c |
| +++ b/drivers/clk/tegra/clk-dfll.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * clk-dfll.c - Tegra DFLL clock source common code |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Aleksandr Frid <afrid@nvidia.com> |
| * Paul Walmsley <pwalmsley@nvidia.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This library is for the DVCO and DFLL IP blocks on the Tegra124 |
| * SoC. These IP blocks together are also known at NVIDIA as |
| @@ -34,7 +26,6 @@ |
| * CPU cycle time will vary. This has implications for |
| * performance-measurement code and any code that relies on the CPU |
| * cycle time to delay for a certain length of time. |
| - * |
| */ |
| |
| #include <linux/clk.h> |
| |
| |
| --- a/drivers/clk/tegra/clk-dfll.h |
| +++ b/drivers/clk/tegra/clk-dfll.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * clk-dfll.h - prototypes and macros for the Tegra DFLL clocksource driver |
| * Copyright (C) 2013-2019 NVIDIA Corporation. All rights reserved. |
| * |
| * Aleksandr Frid <afrid@nvidia.com> |
| * Paul Walmsley <pwalmsley@nvidia.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DRIVERS_CLK_TEGRA_CLK_DFLL_H |
| |
| |
| --- a/drivers/clk/tegra/clk-tegra124-dfll-fcpu.c |
| +++ b/drivers/clk/tegra/clk-tegra124-dfll-fcpu.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Tegra124 DFLL FCPU clock source driver |
| * |
| @@ -5,16 +6,6 @@ |
| * |
| * Aleksandr Frid <afrid@nvidia.com> |
| * Paul Walmsley <pwalmsley@nvidia.com> |
| - * |
| - * 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. |
| - * |
| - * 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/cpu.h> |
| |
| |
| --- a/drivers/clk/tegra/cvb.c |
| +++ b/drivers/clk/tegra/cvb.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Utility functions for parsing Tegra CVB voltage tables |
| * |
| * Copyright (C) 2012-2019 NVIDIA 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 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/err.h> |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/clk/tegra/cvb.h |
| +++ b/drivers/clk/tegra/cvb.h |
| @@ -1,15 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Utility functions for parsing Tegra CVB voltage tables |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __DRIVERS_CLK_TEGRA_CVB_H |
| |
| |
| --- a/drivers/clk/versatile/clk-sp810.c |
| +++ b/drivers/clk/versatile/clk-sp810.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2013 ARM Limited |
| */ |
| |
| |
| --- a/drivers/clk/versatile/clk-vexpress-osc.c |
| +++ b/drivers/clk/versatile/clk-vexpress-osc.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/drivers/clocksource/timer-versatile.c |
| +++ b/drivers/clocksource/timer-versatile.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2014 ARM Limited |
| */ |
| |
| |
| --- a/drivers/cpufreq/mediatek-cpufreq.c |
| +++ b/drivers/cpufreq/mediatek-cpufreq.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 Linaro Ltd. |
| * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.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 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/clk.h> |
| |
| |
| --- a/drivers/cpufreq/ti-cpufreq.c |
| +++ b/drivers/cpufreq/ti-cpufreq.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * TI CPUFreq/OPP hw-supported driver |
| * |
| * Copyright (C) 2016-2017 Texas Instruments, Inc. |
| * Dave Gerlach <d-gerlach@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/cpu.h> |
| |
| |
| --- a/drivers/crypto/mxc-scc.c |
| +++ b/drivers/crypto/mxc-scc.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2016 Pengutronix, Steffen Trumtrar <kernel@pengutronix.de> |
| * |
| * The driver is based on information gathered from |
| * drivers/mxc/security/mxc_scc.c which can be found in |
| * the Freescale linux-2.6-imx.git in the imx_2.6.35_maintain branch. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| #include <linux/crypto.h> |
| |
| |
| --- a/drivers/dma/pch_dma.c |
| +++ b/drivers/dma/pch_dma.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Topcliff PCH DMA controller driver |
| * Copyright (c) 2010 Intel Corporation |
| * Copyright (C) 2011 LAPIS Semiconductor Co., Ltd. |
| - * |
| - * 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. |
| - * |
| - * 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/dmaengine.h> |
| |
| |
| --- a/drivers/dma/stm32-dmamux.c |
| +++ b/drivers/dma/stm32-dmamux.c |
| @@ -1,24 +1,13 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Copyright (C) STMicroelectronics SA 2017 |
| * Author(s): M'boumba Cedric Madianga <cedric.madianga@gmail.com> |
| * Pierre-Yves Mordret <pierre-yves.mordret@st.com> |
| * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * DMA Router driver for STM32 DMA MUX |
| * |
| * Based on TI DMA Crossbar driver |
| - * |
| */ |
| |
| #include <linux/clk.h> |
| |
| |
| --- a/drivers/dma/stm32-mdma.c |
| +++ b/drivers/dma/stm32-mdma.c |
| @@ -1,24 +1,13 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Copyright (C) STMicroelectronics SA 2017 |
| * Author(s): M'boumba Cedric Madianga <cedric.madianga@gmail.com> |
| * Pierre-Yves Mordret <pierre-yves.mordret@st.com> |
| * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Driver for STM32 MDMA controller |
| * |
| * Inspired by stm32-dma.c and dma-jz4780.c |
| - * |
| */ |
| |
| #include <linux/clk.h> |
| |
| |
| --- a/drivers/dma/timb_dma.c |
| +++ b/drivers/dma/timb_dma.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * timb_dma.c timberdale FPGA DMA driver |
| * Copyright (c) 2010 Intel Corporation |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /* Supports: |
| |
| |
| --- a/drivers/dma-buf/dma-fence-array.c |
| +++ b/drivers/dma-buf/dma-fence-array.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * dma-fence-array: aggregate fences to be waited together |
| * |
| @@ -6,15 +7,6 @@ |
| * Authors: |
| * Gustavo Padovan <gustavo@padovan.org> |
| * Christian König <christian.koenig@amd.com> |
| - * |
| - * 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. |
| - * |
| - * 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/export.h> |
| |
| |
| --- a/drivers/dma-buf/dma-fence.c |
| +++ b/drivers/dma-buf/dma-fence.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Fence mechanism for dma-buf and to allow for asynchronous dma access |
| * |
| @@ -7,15 +8,6 @@ |
| * Authors: |
| * Rob Clark <robdclark@gmail.com> |
| * Maarten Lankhorst <maarten.lankhorst@canonical.com> |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/drivers/dma-buf/seqno-fence.c |
| +++ b/drivers/dma-buf/seqno-fence.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * seqno-fence, using a dma-buf to synchronize fencing |
| * |
| @@ -6,15 +7,6 @@ |
| * Authors: |
| * Rob Clark <robdclark@gmail.com> |
| * Maarten Lankhorst <maarten.lankhorst@canonical.com> |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/drivers/extcon/extcon-axp288.c |
| +++ b/drivers/extcon/extcon-axp288.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * extcon-axp288.c - X-Power AXP288 PMIC extcon cable detection driver |
| * |
| * Copyright (c) 2017-2018 Hans de Goede <hdegoede@redhat.com> |
| * Copyright (C) 2015 Intel Corporation |
| * Author: Ramakrishna Pallala <ramakrishna.pallala@intel.com> |
| - * |
| - * 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. |
| - * |
| - * 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/acpi.h> |
| |
| |
| --- a/drivers/extcon/extcon-qcom-spmi-misc.c |
| +++ b/drivers/extcon/extcon-qcom-spmi-misc.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /** |
| * extcon-qcom-spmi-misc.c - Qualcomm USB extcon driver to support USB ID |
| * detection based on extcon-usb-gpio.c. |
| * |
| * Copyright (C) 2016 Linaro, Ltd. |
| * Stephen Boyd <stephen.boyd@linaro.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 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/extcon-provider.h> |
| |
| |
| --- a/drivers/extcon/extcon-usb-gpio.c |
| +++ b/drivers/extcon/extcon-usb-gpio.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /** |
| * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver |
| * |
| * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com |
| * Author: Roger Quadros <rogerq@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/extcon-provider.h> |
| |
| |
| --- a/drivers/firmware/psci.c |
| +++ b/drivers/firmware/psci.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2015 ARM Limited |
| */ |
| |
| |
| --- a/drivers/firmware/psci_checker.c |
| +++ b/drivers/firmware/psci_checker.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2016 ARM Limited |
| */ |
| |
| |
| --- a/drivers/fsi/fsi-core.c |
| +++ b/drivers/fsi/fsi-core.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * FSI core driver |
| * |
| * Copyright (C) IBM Corporation 2016 |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * TODO: |
| * - Rework topology |
| |
| |
| --- a/drivers/fsi/fsi-master-hub.c |
| +++ b/drivers/fsi/fsi-master-hub.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * FSI hub master driver |
| * |
| * Copyright (C) IBM Corporation 2016 |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/fsi/fsi-master.h |
| +++ b/drivers/fsi/fsi-master.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * FSI master definitions. These comprise the core <--> master interface, |
| * to allow the core to interact with the (hardware-specific) masters. |
| * |
| * Copyright (C) IBM Corporation 2016 |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef DRIVERS_FSI_MASTER_H |
| |
| |
| --- a/drivers/gpio/gpio-104-dio-48e.c |
| +++ b/drivers/gpio/gpio-104-dio-48e.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * GPIO driver for the ACCES 104-DIO-48E series |
| * Copyright (C) 2016 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This driver supports the following ACCES devices: 104-DIO-48E and |
| * 104-DIO-24E. |
| |
| |
| --- a/drivers/gpio/gpio-104-idi-48.c |
| +++ b/drivers/gpio/gpio-104-idi-48.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * GPIO driver for the ACCES 104-IDI-48 family |
| * Copyright (C) 2015 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This driver supports the following ACCES devices: 104-IDI-48A, |
| * 104-IDI-48AC, 104-IDI-48B, and 104-IDI-48BC. |
| |
| |
| --- a/drivers/gpio/gpio-104-idio-16.c |
| +++ b/drivers/gpio/gpio-104-idio-16.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * GPIO driver for the ACCES 104-IDIO-16 family |
| * Copyright (C) 2015 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This driver supports the following ACCES devices: 104-IDIO-16, |
| * 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, and 104-IDO-8. |
| |
| |
| --- a/drivers/gpio/gpio-gpio-mm.c |
| +++ b/drivers/gpio/gpio-gpio-mm.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * GPIO driver for the Diamond Systems GPIO-MM |
| * Copyright (C) 2016 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This driver supports the following Diamond Systems devices: GPIO-MM and |
| * GPIO-MM-12. |
| |
| |
| --- a/drivers/gpio/gpio-pci-idio-16.c |
| +++ b/drivers/gpio/gpio-pci-idio-16.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * GPIO driver for the ACCES PCI-IDIO-16 |
| * Copyright (C) 2017 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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/bitmap.h> |
| #include <linux/bitops.h> |
| |
| |
| --- a/drivers/gpio/gpio-ws16c48.c |
| +++ b/drivers/gpio/gpio-ws16c48.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * GPIO driver for the WinSystems WS16C48 |
| * Copyright (C) 2016 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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/bitmap.h> |
| #include <linux/bitops.h> |
| |
| |
| --- a/drivers/gpu/drm/arc/arcpgu.h |
| +++ b/drivers/gpu/drm/arc/arcpgu.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * ARC PGU DRM driver. |
| * |
| * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _ARCPGU_H_ |
| |
| |
| --- a/drivers/gpu/drm/arc/arcpgu_crtc.c |
| +++ b/drivers/gpu/drm/arc/arcpgu_crtc.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ARC PGU DRM driver. |
| * |
| * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drm_atomic_helper.h> |
| |
| |
| --- a/drivers/gpu/drm/arc/arcpgu_drv.c |
| +++ b/drivers/gpu/drm/arc/arcpgu_drv.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ARC PGU DRM driver. |
| * |
| * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/gpu/drm/arc/arcpgu_hdmi.c |
| +++ b/drivers/gpu/drm/arc/arcpgu_hdmi.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ARC PGU DRM driver. |
| * |
| * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drm_crtc.h> |
| |
| |
| --- a/drivers/gpu/drm/arc/arcpgu_regs.h |
| +++ b/drivers/gpu/drm/arc/arcpgu_regs.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * ARC PGU DRM driver. |
| * |
| * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _ARC_PGU_REGS_H_ |
| |
| |
| --- a/drivers/gpu/drm/arc/arcpgu_sim.c |
| +++ b/drivers/gpu/drm/arc/arcpgu_sim.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ARC PGU DRM driver. |
| * |
| * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drm_atomic_helper.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_cec.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_cec.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| #include <linux/delay.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_cec.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_cec.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef _MTK_CEC_H |
| #define _MTK_CEC_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_disp_color.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_disp_color.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_disp_rdma.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_dpi.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| #include <drm/drm_crtc.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_dpi_regs.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_dpi_regs.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef __MTK_DPI_REGS_H |
| #define __MTK_DPI_REGS_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/barrier.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MTK_DRM_CRTC_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MTK_DRM_DDP_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Authors: |
| * YT Shen <yt.shen@mediatek.com> |
| * CK Hu <ck.hu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MTK_DRM_DDP_COMP_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: YT SHEN <yt.shen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MTK_DRM_DRV_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_fb.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_fb.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_fb.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_fb.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MTK_DRM_FB_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_gem.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_gem.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_gem.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_gem.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_DRM_GEM_H_ |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_plane.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_plane.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: CK Hu <ck.hu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_drm_plane.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_drm_plane.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: CK Hu <ck.hu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_DRM_PLANE_H_ |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_dsi.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 <drm/drmP.h> |
| #include <drm/drm_atomic_helper.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_hdmi.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef _MTK_HDMI_CTRL_H |
| #define _MTK_HDMI_CTRL_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_hdmi_regs.h |
| +++ b/drivers/gpu/drm/mediatek/mtk_hdmi_regs.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef _MTK_HDMI_REGS_H |
| #define _MTK_HDMI_REGS_H |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_mipi_tx.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c |
| +++ b/drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Jie Qiu <jie.qiu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "mtk_hdmi_phy.h" |
| |
| |
| --- a/drivers/gpu/drm/omapdrm/dss/base.c |
| +++ b/drivers/gpu/drm/omapdrm/dss/base.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * OMAP Display Subsystem Base |
| * |
| * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/gpu/drm/omapdrm/dss/dss-of.c |
| +++ b/drivers/gpu/drm/omapdrm/dss/dss-of.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ |
| * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/gpu/drm/omapdrm/dss/video-pll.c |
| +++ b/drivers/gpu/drm/omapdrm/dss/video-pll.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/hwmon/ina3221.c |
| +++ b/drivers/hwmon/ina3221.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * INA3221 Triple Current/Voltage Monitor |
| * |
| * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ |
| * Andrew F. Davis <afd@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/hwmon.h> |
| |
| |
| --- a/drivers/hwmon/pc87427.c |
| +++ b/drivers/hwmon/pc87427.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * pc87427.c - hardware monitoring driver for the |
| * National Semiconductor PC87427 Super-I/O chip |
| * Copyright (C) 2006, 2008, 2010 Jean Delvare <jdelvare@suse.de> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Supports the following chips: |
| * |
| |
| |
| --- a/drivers/hwmon/vexpress-hwmon.c |
| +++ b/drivers/hwmon/vexpress-hwmon.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/drivers/i2c/busses/i2c-isch.c |
| +++ b/drivers/i2c/busses/i2c-isch.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| i2c-isch.c - Linux kernel driver for Intel SCH chipset SMBus |
| - Based on i2c-piix4.c |
| @@ -6,14 +7,6 @@ |
| - Intel SCH support |
| Copyright (c) 2007 - 2008 Jacob Jun Pan <jacob.jun.pan@intel.com> |
| |
| - 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. |
| - |
| - 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. |
| */ |
| |
| /* |
| |
| |
| --- a/drivers/i2c/busses/i2c-mt65xx.c |
| +++ b/drivers/i2c/busses/i2c-mt65xx.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Xudong Chen <xudong.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/i2c/busses/i2c-pasemi.c |
| +++ b/drivers/i2c/busses/i2c-pasemi.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2007 PA Semi, Inc |
| * |
| * SMBus host driver for PA Semi PWRficient |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/i2c/busses/i2c-xiic.c |
| +++ b/drivers/i2c/busses/i2c-xiic.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * i2c-xiic.c |
| * Copyright (c) 2002-2007 Xilinx Inc. |
| * Copyright (c) 2009-2010 Intel Corporation |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * |
| * This code was implemented by Mocean Laboratories AB when porting linux |
| * to the automotive development board Russellville. The copyright holder |
| |
| |
| --- a/drivers/iio/adc/cpcap-adc.c |
| +++ b/drivers/iio/adc/cpcap-adc.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 Tony Lindgren <tony@atomide.com> |
| * |
| @@ -5,15 +6,6 @@ |
| * earlier driver found in the Motorola Linux kernel: |
| * |
| * Copyright (C) 2009-2010 Motorola, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/iio/adc/mt6577_auxadc.c |
| +++ b/drivers/iio/adc/mt6577_auxadc.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Zhiyong Tao <zhiyong.tao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/iio/adc/stx104.c |
| +++ b/drivers/iio/adc/stx104.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * IIO driver for the Apex Embedded Systems STX104 |
| * Copyright (C) 2016 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| #include <linux/device.h> |
| |
| |
| --- a/drivers/iio/counter/104-quad-8.c |
| +++ b/drivers/iio/counter/104-quad-8.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * IIO driver for the ACCES 104-QUAD-8 |
| * Copyright (C) 2016 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This driver supports the ACCES 104-QUAD-8 and ACCES 104-QUAD-4. |
| */ |
| |
| |
| --- a/drivers/iio/dac/ad8801.c |
| +++ b/drivers/iio/dac/ad8801.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * IIO DAC driver for Analog Devices AD8801 DAC |
| * |
| * Copyright (C) 2016 Gwenhael Goavec-Merou |
| - * 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. |
| - * |
| - * 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/iio/iio.h> |
| |
| |
| --- a/drivers/iio/dac/cio-dac.c |
| +++ b/drivers/iio/dac/cio-dac.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * IIO driver for the Measurement Computing CIO-DAC |
| * Copyright (C) 2016 William Breathitt Gray |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * This driver supports the following Measurement Computing devices: CIO-DAC16, |
| * CIO-DAC06, and PC104-DAC06. |
| |
| |
| --- a/drivers/iio/health/afe4403.c |
| +++ b/drivers/iio/health/afe4403.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * AFE4403 Heart Rate Monitors and Low-Cost Pulse Oximeters |
| * |
| * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ |
| * Andrew F. Davis <afd@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/iio/health/afe4404.c |
| +++ b/drivers/iio/health/afe4404.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * AFE4404 Heart Rate Monitors and Low-Cost Pulse Oximeters |
| * |
| * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ |
| * Andrew F. Davis <afd@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/iio/health/afe440x.h |
| +++ b/drivers/iio/health/afe440x.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * AFE440X Heart Rate Monitors and Low-Cost Pulse Oximeters |
| * |
| * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ |
| * Andrew F. Davis <afd@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _AFE440X_H |
| |
| |
| --- a/drivers/iio/pressure/zpa2326.c |
| +++ b/drivers/iio/pressure/zpa2326.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Murata ZPA2326 pressure and temperature sensor IIO driver |
| * |
| * Copyright (c) 2016 Parrot S.A. |
| * |
| * Author: Gregor Boirie <gregor.boirie@parrot.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /** |
| |
| |
| --- a/drivers/iio/pressure/zpa2326.h |
| +++ b/drivers/iio/pressure/zpa2326.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Murata ZPA2326 pressure and temperature sensor IIO driver |
| * |
| * Copyright (c) 2016 Parrot S.A. |
| * |
| * Author: Gregor Boirie <gregor.boirie@parrot.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ZPA2326_H |
| |
| |
| --- a/drivers/iio/pressure/zpa2326_i2c.c |
| +++ b/drivers/iio/pressure/zpa2326_i2c.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Murata ZPA2326 I2C pressure and temperature sensor driver |
| * |
| * Copyright (c) 2016 Parrot S.A. |
| * |
| * Author: Gregor Boirie <gregor.boirie@parrot.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/iio/pressure/zpa2326_spi.c |
| +++ b/drivers/iio/pressure/zpa2326_spi.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Murata ZPA2326 SPI pressure and temperature sensor driver |
| * |
| * Copyright (c) 2016 Parrot S.A. |
| * |
| * Author: Gregor Boirie <gregor.boirie@parrot.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/input/misc/drv260x.c |
| +++ b/drivers/input/misc/drv260x.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * DRV260X haptics driver family |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| * |
| * Copyright: (C) 2014 Texas Instruments, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/i2c.h> |
| |
| |
| --- a/drivers/input/misc/drv2665.c |
| +++ b/drivers/input/misc/drv2665.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * DRV2665 haptics driver family |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| * |
| * Copyright: (C) 2015 Texas Instruments, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/i2c.h> |
| |
| |
| --- a/drivers/input/misc/drv2667.c |
| +++ b/drivers/input/misc/drv2667.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * DRV2667 haptics driver family |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| * |
| * Copyright: (C) 2014 Texas Instruments, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/i2c.h> |
| |
| |
| --- a/drivers/iommu/mtk_iommu.c |
| +++ b/drivers/iommu/mtk_iommu.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Yong Wu <yong.wu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/memblock.h> |
| #include <linux/bug.h> |
| |
| |
| --- a/drivers/iommu/mtk_iommu.h |
| +++ b/drivers/iommu/mtk_iommu.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Honghui Zhang <honghui.zhang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_IOMMU_H_ |
| |
| |
| --- a/drivers/iommu/mtk_iommu_v1.c |
| +++ b/drivers/iommu/mtk_iommu_v1.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * IOMMU API for MTK architected m4u v1 implementations |
| * |
| @@ -5,15 +6,6 @@ |
| * Author: Honghui Zhang <honghui.zhang@mediatek.com> |
| * |
| * Based on driver/iommu/mtk_iommu.c |
| - * |
| - * 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. |
| - * |
| - * 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/memblock.h> |
| #include <linux/bug.h> |
| |
| |
| --- a/drivers/irqchip/irq-brcmstb-l2.c |
| +++ b/drivers/irqchip/irq-brcmstb-l2.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Generic Broadcom Set Top Box Level 2 Interrupt controller driver |
| * |
| * Copyright (C) 2014-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/irqchip/irq-mtk-cirq.c |
| +++ b/drivers/irqchip/irq-mtk-cirq.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Youlin.Pei <youlin.pei@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/interrupt.h> |
| |
| |
| --- a/drivers/irqchip/irq-mtk-sysirq.c |
| +++ b/drivers/irqchip/irq-mtk-sysirq.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Joe.C <yingjoe.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/irq.h> |
| |
| |
| --- a/drivers/irqchip/irq-uniphier-aidet.c |
| +++ b/drivers/irqchip/irq-uniphier-aidet.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for UniPhier AIDET (ARM Interrupt Detector) |
| * |
| * Copyright (C) 2017 Socionext Inc. |
| * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| |
| |
| --- a/drivers/isdn/mISDN/clock.c |
| +++ b/drivers/isdn/mISDN/clock.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2008 by Andreas Eversberg <andreas@eversberg.eu> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Quick API description: |
| * |
| @@ -30,7 +22,6 @@ |
| * |
| * To get current clock, call mISDN_clock_get. The signed short value |
| * counts the number of samples since. Time since last clock event is added. |
| - * |
| */ |
| |
| #include <linux/slab.h> |
| |
| |
| --- a/drivers/isdn/mISDN/core.c |
| +++ b/drivers/isdn/mISDN/core.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/drivers/isdn/mISDN/core.h |
| +++ b/drivers/isdn/mISDN/core.h |
| @@ -1,15 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef mISDN_CORE_H |
| |
| |
| --- a/drivers/isdn/mISDN/fsm.c |
| +++ b/drivers/isdn/mISDN/fsm.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * finite state machine implementation |
| * |
| @@ -6,16 +7,6 @@ |
| * Thanks to Jan den Ouden |
| * Fritz Elfert |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/isdn/mISDN/fsm.h |
| +++ b/drivers/isdn/mISDN/fsm.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| @@ -5,16 +6,6 @@ |
| * Thanks to Jan den Ouden |
| * Fritz Elfert |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _MISDN_FSM_H |
| |
| |
| --- a/drivers/isdn/mISDN/hwchannel.c |
| +++ b/drivers/isdn/mISDN/hwchannel.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/gfp.h> |
| |
| |
| --- a/drivers/isdn/mISDN/layer1.c |
| +++ b/drivers/isdn/mISDN/layer1.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| |
| |
| |
| --- a/drivers/isdn/mISDN/layer1.h |
| +++ b/drivers/isdn/mISDN/layer1.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * |
| * Layer 1 defines |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #define FLG_L1_ACTIVATING 1 |
| |
| |
| --- a/drivers/isdn/mISDN/layer2.c |
| +++ b/drivers/isdn/mISDN/layer2.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/mISDNif.h> |
| |
| |
| --- a/drivers/isdn/mISDN/layer2.h |
| +++ b/drivers/isdn/mISDN/layer2.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Layer 2 defines |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/mISDNif.h> |
| |
| |
| --- a/drivers/isdn/mISDN/socket.c |
| +++ b/drivers/isdn/mISDN/socket.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/mISDNif.h> |
| |
| |
| --- a/drivers/isdn/mISDN/stack.c |
| +++ b/drivers/isdn/mISDN/stack.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/drivers/isdn/mISDN/tei.c |
| +++ b/drivers/isdn/mISDN/tei.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "layer2.h" |
| #include <linux/random.h> |
| |
| |
| --- a/drivers/isdn/mISDN/timerdev.c |
| +++ b/drivers/isdn/mISDN/timerdev.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * |
| * general timer device for using in ISDN stacks |
| @@ -5,16 +6,6 @@ |
| * Author Karsten Keil <kkeil@novell.com> |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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/poll.h> |
| |
| |
| --- a/drivers/leds/leds-as3645a.c |
| +++ b/drivers/leds/leds-as3645a.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver |
| * |
| @@ -7,15 +8,6 @@ |
| * Based on drivers/media/i2c/as3645a.c. |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/media-device.c |
| +++ b/drivers/media/media-device.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Media device |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/compat.h> |
| |
| |
| --- a/drivers/media/media-devnode.c |
| +++ b/drivers/media/media-devnode.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Media device node |
| * |
| @@ -9,15 +10,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * -- |
| * |
| |
| |
| --- a/drivers/media/media-entity.c |
| +++ b/drivers/media/media-entity.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Media entity |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/bitmap.h> |
| |
| |
| --- a/drivers/media/dvb-frontends/ix2505v.c |
| +++ b/drivers/media/dvb-frontends/ix2505v.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for Sharp IX2505V (marked B0017) DVB-S silicon tuner |
| * |
| * Copyright (C) 2010 Malcolm Priestley |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/dvb-frontends/ix2505v.h |
| +++ b/drivers/media/dvb-frontends/ix2505v.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /** |
| * Driver for Sharp IX2505V (marked B0017) DVB-S silicon tuner |
| * |
| * Copyright (C) 2010 Malcolm Priestley |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef DVB_IX2505V_H |
| |
| |
| --- a/drivers/media/dvb-frontends/zl10036.c |
| +++ b/drivers/media/dvb-frontends/zl10036.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for Zarlink zl10036 DVB-S silicon tuner |
| * |
| * Copyright (C) 2006 Tino Reichardt |
| * Copyright (C) 2007-2009 Matthias Schwarzott <zzam@gentoo.de> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| ** |
| * The data sheet for this tuner can be found at: |
| |
| |
| --- a/drivers/media/dvb-frontends/zl10036.h |
| +++ b/drivers/media/dvb-frontends/zl10036.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /** |
| * Driver for Zarlink ZL10036 DVB-S silicon tuner |
| * |
| * Copyright (C) 2006 Tino Reichardt |
| * Copyright (C) 2007-2009 Matthias Schwarzott <zzam@gentoo.de> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef DVB_ZL10036_H |
| |
| |
| --- a/drivers/media/i2c/ad5820.c |
| +++ b/drivers/media/i2c/ad5820.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/ad5820.c |
| * |
| @@ -11,15 +12,6 @@ |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| * |
| * Based on af_d88.c by Texas Instruments. |
| - * |
| - * 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. |
| - * |
| - * 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/errno.h> |
| |
| |
| --- a/drivers/media/i2c/adp1653.c |
| +++ b/drivers/media/i2c/adp1653.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/adp1653.c |
| * |
| @@ -10,20 +11,10 @@ |
| * Tuukka Toivonen <tuukkat76@gmail.com> |
| * Pavel Machek <pavel@ucw.cz> |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * TODO: |
| * - fault interrupt handling |
| * - hardware strobe |
| * - power doesn't need to be ON if all lights are off |
| - * |
| */ |
| |
| #include <linux/delay.h> |
| |
| |
| --- a/drivers/media/i2c/adv7183.c |
| +++ b/drivers/media/i2c/adv7183.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * adv7183.c Analog Devices ADV7183 video decoder driver |
| * |
| * Copyright (c) 2011 Analog Devices Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/i2c/adv7183_regs.h |
| +++ b/drivers/media/i2c/adv7183_regs.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * adv7183 - Analog Devices ADV7183 video decoder registers |
| * |
| * Copyright (c) 2011 Analog Devices Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ADV7183_REGS_H_ |
| |
| |
| --- a/drivers/media/i2c/aptina-pll.c |
| +++ b/drivers/media/i2c/aptina-pll.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Aptina Sensor PLL Configuration |
| * |
| * Copyright (C) 2012 Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/media/i2c/aptina-pll.h |
| +++ b/drivers/media/i2c/aptina-pll.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Aptina Sensor PLL Configuration |
| * |
| * Copyright (C) 2012 Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __APTINA_PLL_H |
| |
| |
| --- a/drivers/media/i2c/lm3560.c |
| +++ b/drivers/media/i2c/lm3560.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/lm3560.c |
| * General device driver for TI lm3559, lm3560, FLASH LED Driver |
| @@ -6,15 +7,6 @@ |
| * |
| * Contact: Daniel Jeong <gshark.jeong@gmail.com> |
| * Ldd-Mlp <ldd-mlp@list.ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/i2c/mt9m032.c |
| +++ b/drivers/media/i2c/mt9m032.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for MT9M032 CMOS Image Sensor from Micron |
| * |
| * Copyright (C) 2010-2011 Lund Engineering |
| * Contact: Gil Lund <gwlund@lundeng.com> |
| * Author: Martin Hostettler <martin@neutronstar.dyndns.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 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/delay.h> |
| |
| |
| --- a/drivers/media/i2c/ov7640.c |
| +++ b/drivers/media/i2c/ov7640.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/media/i2c/smiapp-pll.c |
| +++ b/drivers/media/i2c/smiapp-pll.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/smiapp-pll.c |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/media/i2c/smiapp-pll.h |
| +++ b/drivers/media/i2c/smiapp-pll.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * drivers/media/i2c/smiapp-pll.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef SMIAPP_PLL_H |
| |
| |
| --- a/drivers/media/i2c/sony-btf-mpx.c |
| +++ b/drivers/media/i2c/sony-btf-mpx.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/i2c/tw2804.c |
| +++ b/drivers/media/i2c/tw2804.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/i2c/tw9903.c |
| +++ b/drivers/media/i2c/tw9903.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/i2c/tw9906.c |
| +++ b/drivers/media/i2c/tw9906.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/i2c/uda1342.c |
| +++ b/drivers/media/i2c/uda1342.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/i2c/vs6624.c |
| +++ b/drivers/media/i2c/vs6624.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * vs6624.c ST VS6624 CMOS image sensor driver |
| * |
| * Copyright (c) 2011 Analog Devices Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/i2c/vs6624_regs.h |
| +++ b/drivers/media/i2c/vs6624_regs.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * vs6624 - ST VS6624 CMOS image sensor registers |
| * |
| * Copyright (c) 2011 Analog Devices Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VS6624_REGS_H_ |
| |
| |
| --- a/drivers/media/i2c/et8ek8/et8ek8_driver.c |
| +++ b/drivers/media/i2c/et8ek8/et8ek8_driver.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * et8ek8_driver.c |
| * |
| @@ -11,15 +12,6 @@ |
| * |
| * This driver is based on the Micron MT9T012 camera imager driver |
| * (C) Texas Instruments. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/i2c/et8ek8/et8ek8_mode.c |
| +++ b/drivers/media/i2c/et8ek8/et8ek8_mode.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * et8ek8_mode.c |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| * Tuukka Toivonen <tuukkat76@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "et8ek8_reg.h" |
| |
| |
| --- a/drivers/media/i2c/et8ek8/et8ek8_reg.h |
| +++ b/drivers/media/i2c/et8ek8/et8ek8_reg.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * et8ek8_reg.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| * Tuukka Toivonen <tuukkat76@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef ET8EK8REGS_H |
| |
| |
| --- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c |
| +++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Samsung LSI S5C73M3 8M pixel camera driver |
| * |
| * Copyright (C) 2012, Samsung Electronics, Co., Ltd. |
| * Sylwester Nawrocki <s.nawrocki@samsung.com> |
| * Andrzej Hajda <a.hajda@samsung.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c |
| +++ b/drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Samsung LSI S5C73M3 8M pixel camera driver |
| * |
| * Copyright (C) 2012, Samsung Electronics, Co., Ltd. |
| * Sylwester Nawrocki <s.nawrocki@samsung.com> |
| * Andrzej Hajda <a.hajda@samsung.com> |
| - * |
| - * 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. |
| - * |
| - * 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/sizes.h> |
| |
| |
| --- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c |
| +++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Samsung LSI S5C73M3 8M pixel camera driver |
| * |
| * Copyright (C) 2012, Samsung Electronics, Co., Ltd. |
| * Sylwester Nawrocki <s.nawrocki@samsung.com> |
| * Andrzej Hajda <a.hajda@samsung.com> |
| - * |
| - * 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. |
| - * |
| - * 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/sizes.h> |
| |
| |
| --- a/drivers/media/i2c/s5c73m3/s5c73m3.h |
| +++ b/drivers/media/i2c/s5c73m3/s5c73m3.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Samsung LSI S5C73M3 8M pixel camera driver |
| * |
| * Copyright (C) 2012, Samsung Electronics, Co., Ltd. |
| * Sylwester Nawrocki <s.nawrocki@samsung.com> |
| * Andrzej Hajda <a.hajda@samsung.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef S5C73M3_H_ |
| #define S5C73M3_H_ |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-core.c |
| +++ b/drivers/media/i2c/smiapp/smiapp-core.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/smiapp/smiapp-core.c |
| * |
| @@ -9,15 +10,6 @@ |
| * Based on smiapp driver by Vimarsh Zutshi |
| * Based on jt8ev1.c by Vimarsh Zutshi |
| * Based on smia-sensor.c by Tuukka Toivonen <tuukkat76@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-limits.c |
| +++ b/drivers/media/i2c/smiapp/smiapp-limits.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/smiapp/smiapp-limits.c |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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 "smiapp.h" |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-limits.h |
| +++ b/drivers/media/i2c/smiapp/smiapp-limits.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * drivers/media/i2c/smiapp/smiapp-limits.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define SMIAPP_LIMIT_ANALOGUE_GAIN_CAPABILITY 0 |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-quirk.c |
| +++ b/drivers/media/i2c/smiapp/smiapp-quirk.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/smiapp/smiapp-quirk.c |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-quirk.h |
| +++ b/drivers/media/i2c/smiapp/smiapp-quirk.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * drivers/media/i2c/smiapp/smiapp-quirk.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __SMIAPP_QUIRK__ |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-reg-defs.h |
| +++ b/drivers/media/i2c/smiapp/smiapp-reg-defs.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * drivers/media/i2c/smiapp/smiapp-reg-defs.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #define SMIAPP_REG_MK_U8(r) ((SMIAPP_REG_8BIT << 16) | (r)) |
| #define SMIAPP_REG_MK_U16(r) ((SMIAPP_REG_16BIT << 16) | (r)) |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-reg.h |
| +++ b/drivers/media/i2c/smiapp/smiapp-reg.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * drivers/media/i2c/smiapp/smiapp-reg.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __SMIAPP_REG_H_ |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-regs.c |
| +++ b/drivers/media/i2c/smiapp/smiapp-regs.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * drivers/media/i2c/smiapp/smiapp-regs.c |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp-regs.h |
| +++ b/drivers/media/i2c/smiapp/smiapp-regs.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * include/media/smiapp/smiapp-regs.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef SMIAPP_REGS_H |
| |
| |
| --- a/drivers/media/i2c/smiapp/smiapp.h |
| +++ b/drivers/media/i2c/smiapp/smiapp.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * drivers/media/i2c/smiapp/smiapp.h |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Copyright (C) 2010--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __SMIAPP_PRIV_H_ |
| |
| |
| --- a/drivers/media/pci/saa7134/saa7134-go7007.c |
| +++ b/drivers/media/pci/saa7134/saa7134-go7007.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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 "saa7134.h" |
| |
| |
| --- a/drivers/media/pci/sta2x11/sta2x11_vip.h |
| +++ b/drivers/media/pci/sta2x11/sta2x11_vip.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2011 Wind River Systems, Inc. |
| * |
| - * 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. |
| - * |
| - * 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: Anders Wallin <anders.wallin@windriver.com> |
| - * |
| */ |
| |
| #ifndef __STA2X11_VIP_H |
| |
| |
| --- a/drivers/media/platform/coda/imx-vdoa.c |
| +++ b/drivers/media/platform/coda/imx-vdoa.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * i.MX6 Video Data Order Adapter (VDOA) |
| * |
| * Copyright (C) 2014 Philipp Zabel |
| * Copyright (C) 2016 Pengutronix, Michael Tretter <kernel@pengutronix.de> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_JPEG_CORE_H |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.h |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_JPEG_HW_H |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.h |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_JPEG_PARSE_H |
| |
| |
| --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_reg.h |
| +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_reg.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| * Rick Chang <rick.chang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_JPEG_REG_H |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MTK_MDP_COMP_H__ |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_core.h |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_core.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MTK_MDP_CORE_H__ |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_ipi.h |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_ipi.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MTK_MDP_IPI_H__ |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.h |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MTK_MDP_M2M_H__ |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_regs.c |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_regs.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/platform_device.h> |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_regs.h |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_regs.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MTK_MDP_REGS_H__ |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_vpu.c |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_vpu.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "mtk_mdp_core.h" |
| |
| |
| --- a/drivers/media/platform/mtk-mdp/mtk_mdp_vpu.h |
| +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_vpu.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Houlong Wei <houlong.wei@mediatek.com> |
| * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MTK_MDP_VPU_H__ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 <media/v4l2-event.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_DEC_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_DEC_PM_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_DRV_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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 <media/v4l2-event.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_ENC_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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/slab.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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/clk.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_ENC_PM_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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/errno.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_INTR_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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/module.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h |
| +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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. |
| */ |
| |
| #ifndef _MTK_VCODEC_UTIL_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec_drv_base.h |
| +++ b/drivers/media/platform/mtk-vcodec/vdec_drv_base.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VDEC_DRV_BASE_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec_drv_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/vdec_drv_if.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/interrupt.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec_drv_if.h |
| +++ b/drivers/media/platform/mtk-vcodec/vdec_drv_if.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VDEC_DRV_IF_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h |
| +++ b/drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h |
| @@ -1,16 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VDEC_IPI_MSG_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/vdec_vpu_if.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "mtk_vcodec_drv.h" |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h |
| +++ b/drivers/media/platform/mtk-vcodec/vdec_vpu_if.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VDEC_VPU_IF_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc_drv_base.h |
| +++ b/drivers/media/platform/mtk-vcodec/venc_drv_base.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * Jungchang Tsao <jungchang.tsao@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VENC_DRV_BASE_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc_drv_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/venc_drv_if.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * Jungchang Tsao <jungchang.tsao@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/interrupt.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc_drv_if.h |
| +++ b/drivers/media/platform/mtk-vcodec/venc_drv_if.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * Jungchang Tsao <jungchang.tsao@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VENC_DRV_IF_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h |
| +++ b/drivers/media/platform/mtk-vcodec/venc_ipi_msg.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Jungchang Tsao <jungchang.tsao@mediatek.com> |
| * Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VENC_IPI_MSG_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc_vpu_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/venc_vpu_if.c |
| @@ -1,16 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PoChun Lin <pochun.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "mtk_vpu.h" |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc_vpu_if.h |
| +++ b/drivers/media/platform/mtk-vcodec/venc_vpu_if.h |
| @@ -1,16 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PoChun Lin <pochun.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _VENC_VPU_IF_H_ |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: PC Chen <pc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Jungchang Tsao <jungchang.tsao@mediatek.com> |
| * PC Chen <pc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * Kai-Sean Yang <kai-sean.yang@mediatek.com> |
| * Tiffany Lin <tiffany.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/fs.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Jungchang Tsao <jungchang.tsao@mediatek.com> |
| * Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * PoChun Lin <pochun.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/interrupt.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c |
| +++ b/drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Daniel Hsiao <daniel.hsiao@mediatek.com> |
| * PoChun Lin <pochun.lin@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/interrupt.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vpu/mtk_vpu.c |
| +++ b/drivers/media/platform/mtk-vpu/mtk_vpu.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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/clk.h> |
| #include <linux/debugfs.h> |
| |
| |
| --- a/drivers/media/platform/mtk-vpu/mtk_vpu.h |
| +++ b/drivers/media/platform/mtk-vpu/mtk_vpu.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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. |
| */ |
| |
| #ifndef _MTK_VPU_H |
| |
| |
| --- a/drivers/media/platform/omap3isp/omap3isp.h |
| +++ b/drivers/media/platform/omap3isp/omap3isp.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * omap3isp.h |
| * |
| @@ -7,15 +8,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __OMAP3ISP_H__ |
| |
| |
| --- a/drivers/media/radio/radio-isa.c |
| +++ b/drivers/media/radio/radio-isa.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Framework for ISA radio drivers. |
| * This takes care of all the V4L2 scaffolding, allowing the ISA drivers |
| * to concentrate on the actual hardware operation. |
| * |
| * Copyright (C) 2012 Hans Verkuil <hans.verkuil@cisco.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/radio/radio-isa.h |
| +++ b/drivers/media/radio/radio-isa.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Framework for ISA radio drivers. |
| * This takes care of all the V4L2 scaffolding, allowing the ISA drivers |
| * to concentrate on the actual hardware operation. |
| * |
| * Copyright (C) 2012 Hans Verkuil <hans.verkuil@cisco.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _RADIO_ISA_H_ |
| |
| |
| --- a/drivers/media/radio/radio-timb.c |
| +++ b/drivers/media/radio/radio-timb.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * radio-timb.c Timberdale FPGA Radio driver |
| * Copyright (c) 2009 Intel Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| |
| |
| --- a/drivers/media/radio/radio-wl1273.c |
| +++ b/drivers/media/radio/radio-wl1273.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the Texas Instruments WL1273 FM radio. |
| * |
| * Copyright (C) 2011 Nokia Corporation |
| * Author: Matti J. Aaltonen <matti.j.aaltonen@nokia.com> |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/radio/saa7706h.c |
| +++ b/drivers/media/radio/saa7706h.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * saa7706.c Philips SAA7706H Car Radio DSP driver |
| * Copyright (c) 2009 Intel Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/radio/tef6862.c |
| +++ b/drivers/media/radio/tef6862.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tef6862.c Philips TEF6862 Car Radio Enhanced Selectivity Tuner |
| * Copyright (c) 2009 Intel Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv.h |
| +++ b/drivers/media/radio/wl128x/fmdrv.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * |
| * Common header for all FM driver sub-modules. |
| * |
| * Copyright (C) 2011 Texas Instruments |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _FM_DRV_H |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_common.c |
| +++ b/drivers/media/radio/wl128x/fmdrv_common.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * |
| @@ -16,16 +17,6 @@ |
| * Copyright (C) 2011 Texas Instruments |
| * Author: Raja Mani <raja_mani@ti.com> |
| * Author: Manjunatha Halli <manjunatha_halli@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_common.h |
| +++ b/drivers/media/radio/wl128x/fmdrv_common.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * FM Common module header file |
| * |
| * Copyright (C) 2011 Texas Instruments |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _FMDRV_COMMON_H |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_rx.c |
| +++ b/drivers/media/radio/wl128x/fmdrv_rx.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * This sub-module of FM driver implements FM RX functionality. |
| @@ -5,16 +6,6 @@ |
| * Copyright (C) 2011 Texas Instruments |
| * Author: Raja Mani <raja_mani@ti.com> |
| * Author: Manjunatha Halli <manjunatha_halli@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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 "fmdrv.h" |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_rx.h |
| +++ b/drivers/media/radio/wl128x/fmdrv_rx.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * FM RX module header. |
| * |
| * Copyright (C) 2011 Texas Instruments |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _FMDRV_RX_H |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_tx.c |
| +++ b/drivers/media/radio/wl128x/fmdrv_tx.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * This sub-module of FM driver implements FM TX functionality. |
| * |
| * Copyright (C) 2011 Texas Instruments |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_tx.h |
| +++ b/drivers/media/radio/wl128x/fmdrv_tx.h |
| @@ -1,18 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * FM TX module header. |
| * |
| * Copyright (C) 2011 Texas Instruments |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _FMDRV_TX_H |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_v4l2.c |
| +++ b/drivers/media/radio/wl128x/fmdrv_v4l2.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * This file provides interfaces to V4L2 subsystem. |
| @@ -12,16 +13,6 @@ |
| * Copyright (C) 2011 Texas Instruments |
| * Author: Raja Mani <raja_mani@ti.com> |
| * Author: Manjunatha Halli <manjunatha_halli@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/export.h> |
| |
| |
| --- a/drivers/media/radio/wl128x/fmdrv_v4l2.h |
| +++ b/drivers/media/radio/wl128x/fmdrv_v4l2.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * FM Driver for Connectivity chip of Texas Instruments. |
| * |
| * FM V4L2 module header. |
| * |
| * Copyright (C) 2011 Texas Instruments |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef _FMDRV_V4L2_H |
| |
| |
| --- a/drivers/media/usb/dvb-usb-v2/lmedm04.c |
| +++ b/drivers/media/usb/dvb-usb-v2/lmedm04.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* DVB USB compliant linux driver for |
| * |
| * DM04/QQBOX DVB-S USB BOX LME2510C + SHARP:BS2F7HZ7395 |
| @@ -33,21 +34,10 @@ |
| * 0xd0 - STV0299 - Demodulator |
| * 0xc0 - IX2410 - Tuner |
| * |
| - * |
| * VID = 3344 PID LME2510=1122 LME2510C=1120 |
| * |
| * Copyright (C) 2010 Malcolm Priestley (tvboxspy@gmail.com) |
| * LME2510(C)(C) Leaguerme (Shenzhen) MicroElectronics Co., Ltd. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * |
| * see Documentation/media/dvb-drivers/dvb-usb.rst for more information |
| * |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-driver.c |
| +++ b/drivers/media/usb/go7007/go7007-driver.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-fw.c |
| +++ b/drivers/media/usb/go7007/go7007-fw.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /* |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-i2c.c |
| +++ b/drivers/media/usb/go7007/go7007-i2c.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-loader.c |
| +++ b/drivers/media/usb/go7007/go7007-loader.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2008 Sensoray Company Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-priv.h |
| +++ b/drivers/media/usb/go7007/go7007-priv.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /* |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-usb.c |
| +++ b/drivers/media/usb/go7007/go7007-usb.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/media/usb/go7007/go7007-v4l2.c |
| +++ b/drivers/media/usb/go7007/go7007-v4l2.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/usb/go7007/s2250-board.c |
| +++ b/drivers/media/usb/go7007/s2250-board.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2008 Sensoray Company Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/media/usb/go7007/snd-go7007.c |
| +++ b/drivers/media/usb/go7007/snd-go7007.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2005-2006 Micronas USA Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/media/v4l2-core/v4l2-event.c |
| +++ b/drivers/media/v4l2-core/v4l2-event.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * v4l2-event.c |
| * |
| @@ -6,15 +7,6 @@ |
| * Copyright (C) 2009--2010 Nokia Corporation. |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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 <media/v4l2-dev.h> |
| |
| |
| --- a/drivers/media/v4l2-core/v4l2-fh.c |
| +++ b/drivers/media/v4l2-core/v4l2-fh.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * v4l2-fh.c |
| * |
| @@ -6,15 +7,6 @@ |
| * Copyright (C) 2009--2010 Nokia Corporation. |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| |
| |
| --- a/drivers/media/v4l2-core/v4l2-subdev.c |
| +++ b/drivers/media/v4l2-core/v4l2-subdev.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * V4L2 sub-device |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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/ioctl.h> |
| |
| |
| --- a/drivers/memory/mtk-smi.c |
| +++ b/drivers/memory/mtk-smi.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Yong Wu <yong.wu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| #include <linux/component.h> |
| |
| |
| --- a/drivers/memory/ti-emif-pm.c |
| +++ b/drivers/memory/ti-emif-pm.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * TI AM33XX SRAM EMIF Driver |
| * |
| * Copyright (C) 2016-2017 Texas Instruments Inc. |
| * Dave Gerlach |
| - * |
| - * 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. |
| - * |
| - * 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/err.h> |
| |
| |
| --- a/drivers/mfd/mt6397-core.c |
| +++ b/drivers/mfd/mt6397-core.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu, MediaTek |
| - * |
| - * 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. |
| - * |
| - * 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/interrupt.h> |
| |
| |
| --- a/drivers/mfd/vexpress-sysreg.c |
| +++ b/drivers/mfd/vexpress-sysreg.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/drivers/misc/pti.c |
| +++ b/drivers/misc/pti.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * pti.c - PTI driver for cJTAG data extration |
| * |
| * Copyright (C) Intel 2010 |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| * |
| |
| |
| --- a/drivers/misc/vexpress-syscfg.c |
| +++ b/drivers/misc/vexpress-syscfg.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2014 ARM Limited |
| */ |
| |
| |
| --- a/drivers/misc/mic/bus/scif_bus.c |
| +++ b/drivers/misc/mic/bus/scif_bus.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Intel Symmetric Communications Interface Bus driver. |
| */ |
| |
| |
| --- a/drivers/misc/mic/bus/scif_bus.h |
| +++ b/drivers/misc/mic/bus/scif_bus.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Intel Symmetric Communications Interface Bus driver. |
| */ |
| |
| |
| --- a/drivers/misc/mic/scif/scif_api.c |
| +++ b/drivers/misc/mic/scif/scif_api.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include <linux/scif.h> |
| #include "scif_main.h" |
| |
| |
| --- a/drivers/misc/mic/scif/scif_debugfs.c |
| +++ b/drivers/misc/mic/scif/scif_debugfs.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include <linux/debugfs.h> |
| #include <linux/seq_file.h> |
| |
| |
| --- a/drivers/misc/mic/scif/scif_dma.c |
| +++ b/drivers/misc/mic/scif/scif_dma.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2015 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "scif_main.h" |
| #include "scif_map.h" |
| |
| |
| --- a/drivers/misc/mic/scif/scif_epd.c |
| +++ b/drivers/misc/mic/scif/scif_epd.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "scif_main.h" |
| #include "scif_map.h" |
| |
| |
| --- a/drivers/misc/mic/scif/scif_epd.h |
| +++ b/drivers/misc/mic/scif/scif_epd.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #ifndef SCIF_EPD_H |
| #define SCIF_EPD_H |
| |
| |
| --- a/drivers/misc/mic/scif/scif_fd.c |
| +++ b/drivers/misc/mic/scif/scif_fd.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "scif_main.h" |
| |
| |
| |
| --- a/drivers/misc/mic/scif/scif_fence.c |
| +++ b/drivers/misc/mic/scif/scif_fence.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2015 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| |
| #include "scif_main.h" |
| |
| |
| --- a/drivers/misc/mic/scif/scif_main.c |
| +++ b/drivers/misc/mic/scif/scif_main.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include <linux/module.h> |
| #include <linux/idr.h> |
| |
| |
| --- a/drivers/misc/mic/scif/scif_main.h |
| +++ b/drivers/misc/mic/scif/scif_main.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #ifndef SCIF_MAIN_H |
| #define SCIF_MAIN_H |
| |
| |
| --- a/drivers/misc/mic/scif/scif_map.h |
| +++ b/drivers/misc/mic/scif/scif_map.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #ifndef SCIF_MAP_H |
| #define SCIF_MAP_H |
| |
| |
| --- a/drivers/misc/mic/scif/scif_mmap.c |
| +++ b/drivers/misc/mic/scif/scif_mmap.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2015 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "scif_main.h" |
| |
| |
| |
| --- a/drivers/misc/mic/scif/scif_nm.c |
| +++ b/drivers/misc/mic/scif/scif_nm.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "scif_peer_bus.h" |
| |
| |
| |
| --- a/drivers/misc/mic/scif/scif_nodeqp.c |
| +++ b/drivers/misc/mic/scif/scif_nodeqp.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "../bus/scif_bus.h" |
| #include "scif_peer_bus.h" |
| |
| |
| --- a/drivers/misc/mic/scif/scif_peer_bus.c |
| +++ b/drivers/misc/mic/scif/scif_peer_bus.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Intel SCIF driver. |
| */ |
| |
| |
| --- a/drivers/misc/mic/scif/scif_peer_bus.h |
| +++ b/drivers/misc/mic/scif/scif_peer_bus.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Intel SCIF driver. |
| */ |
| |
| |
| --- a/drivers/misc/mic/scif/scif_ports.c |
| +++ b/drivers/misc/mic/scif/scif_ports.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include <linux/idr.h> |
| |
| |
| |
| --- a/drivers/misc/mic/scif/scif_rb.c |
| +++ b/drivers/misc/mic/scif/scif_rb.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2014 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include <linux/circ_buf.h> |
| #include <linux/types.h> |
| |
| |
| --- a/drivers/misc/mic/scif/scif_rma.c |
| +++ b/drivers/misc/mic/scif/scif_rma.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2015 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include <linux/intel-iommu.h> |
| #include <linux/pagemap.h> |
| |
| |
| --- a/drivers/misc/mic/scif/scif_rma_list.c |
| +++ b/drivers/misc/mic/scif/scif_rma_list.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2015 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #include "scif_main.h" |
| #include <linux/mmu_notifier.h> |
| |
| |
| --- a/drivers/misc/mic/scif/scif_rma_list.h |
| +++ b/drivers/misc/mic/scif/scif_rma_list.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel MIC Platform Software Stack (MPSS) |
| * |
| * Copyright(c) 2015 Intel Corporation. |
| * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| * Intel SCIF driver. |
| - * |
| */ |
| #ifndef SCIF_RMA_LIST_H |
| #define SCIF_RMA_LIST_H |
| |
| |
| --- a/drivers/mmc/host/mtk-sd.c |
| +++ b/drivers/mmc/host/mtk-sd.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014-2015 MediaTek Inc. |
| * Author: Chaotian.Jing <chaotian.jing@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/mmc/host/sdhci-brcmstb.c |
| +++ b/drivers/mmc/host/sdhci-brcmstb.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * sdhci-brcmstb.c Support for SDHCI on Broadcom BRCMSTB SoC's |
| * |
| * Copyright (C) 2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| |
| |
| --- a/drivers/mmc/host/sdhci-st.c |
| +++ b/drivers/mmc/host/sdhci-st.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Support for SDHCI on STMicroelectronics SoCs |
| * |
| @@ -6,16 +7,6 @@ |
| * Contributors: Peter Griffin <peter.griffin@linaro.org> |
| * |
| * Based on sdhci-cns3xxx.c |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| |
| |
| --- a/drivers/mtd/nand/raw/mtk_ecc.c |
| +++ b/drivers/mtd/nand/raw/mtk_ecc.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * MTK ECC controller driver. |
| * Copyright (C) 2016 MediaTek Inc. |
| * Authors: Xiaolei Li <xiaolei.li@mediatek.com> |
| * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.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 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/platform_device.h> |
| |
| |
| --- a/drivers/mtd/nand/raw/mtk_nand.c |
| +++ b/drivers/mtd/nand/raw/mtk_nand.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * MTK NAND Flash controller driver. |
| * Copyright (C) 2016 MediaTek Inc. |
| * Authors: Xiaolei Li <xiaolei.li@mediatek.com> |
| * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.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 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/platform_device.h> |
| |
| |
| --- a/drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c |
| +++ b/drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c |
| +++ b/drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2015 Simon Arlott |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Derived from bcm63138_nand.c: |
| * Copyright © 2015 Broadcom Corporation |
| |
| |
| --- a/drivers/mtd/nand/raw/brcmnand/brcmnand.c |
| +++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2010-2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/mtd/nand/raw/brcmnand/brcmnand.h |
| +++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright © 2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __BRCMNAND_H__ |
| |
| |
| --- a/drivers/mtd/nand/raw/brcmnand/brcmstb_nand.c |
| +++ b/drivers/mtd/nand/raw/brcmnand/brcmstb_nand.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/mtd/nand/raw/brcmnand/iproc_nand.c |
| +++ b/drivers/mtd/nand/raw/brcmnand/iproc_nand.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/mtd/spi-nor/mtk-quadspi.c |
| +++ b/drivers/mtd/spi-nor/mtk-quadspi.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Bayi Cheng <bayi.cheng@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/net/dsa/lan9303-core.c |
| +++ b/drivers/net/dsa/lan9303-core.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 Pengutronix, Juergen Borleis <kernel@pengutronix.de> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/net/dsa/lan9303_i2c.c |
| +++ b/drivers/net/dsa/lan9303_i2c.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 Pengutronix, Juergen Borleis <kernel@pengutronix.de> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/net/dsa/lan9303_mdio.c |
| +++ b/drivers/net/dsa/lan9303_mdio.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 Pengutronix, Juergen Borleis <kernel@pengutronix.de> |
| * |
| * Partially based on a patch from |
| * Copyright (c) 2014 Stefan Roese <sr@denx.de> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/net/dsa/mt7530.c |
| +++ b/drivers/net/dsa/mt7530.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Mediatek MT7530 DSA Switch driver |
| * Copyright (C) 2017 Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/etherdevice.h> |
| #include <linux/if_bridge.h> |
| |
| |
| --- a/drivers/net/dsa/mt7530.h |
| +++ b/drivers/net/dsa/mt7530.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7530_H |
| |
| |
| --- a/drivers/net/ethernet/micrel/ksz884x.c |
| +++ b/drivers/net/ethernet/micrel/ksz884x.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /** |
| * drivers/net/ethernet/micrel/ksx884x.c - Micrel KSZ8841/2 PCI Ethernet driver |
| * |
| * Copyright (c) 2009-2010 Micrel, Inc. |
| * Tristram Ha <Tristram.Ha@micrel.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/net/ieee802154/at86rf230.c |
| +++ b/drivers/net/ieee802154/at86rf230.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * AT86RF230/RF231 driver |
| * |
| * Copyright (C) 2009-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| |
| |
| --- a/drivers/net/ieee802154/at86rf230.h |
| +++ b/drivers/net/ieee802154/at86rf230.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * AT86RF230/RF231 driver |
| * |
| * Copyright (C) 2009-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| |
| |
| --- a/drivers/net/ieee802154/fakelb.c |
| +++ b/drivers/net/ieee802154/fakelb.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Loopback IEEE 802.15.4 interface |
| * |
| * Copyright 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/drivers/net/ieee802154/mac802154_hwsim.c |
| +++ b/drivers/net/ieee802154/mac802154_hwsim.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * HWSIM IEEE 802.15.4 interface |
| * |
| * (C) 2018 Mojatau, Alexander Aring <aring@mojatau.com> |
| * Copyright 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Based on fakelb, original Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/drivers/net/ieee802154/mcr20a.c |
| +++ b/drivers/net/ieee802154/mcr20a.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for NXP MCR20A 802.15.4 Wireless-PAN Networking controller |
| * |
| * Copyright (C) 2018 Xue Liu <liuxuenetmail@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/net/ieee802154/mcr20a.h |
| +++ b/drivers/net/ieee802154/mcr20a.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Driver for NXP MCR20A 802.15.4 Wireless-PAN Networking controller |
| * |
| * Copyright (C) 2018 Xue Liu <liuxuenetmail@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| #ifndef _MCR20A_H |
| #define _MCR20A_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/util.h |
| +++ b/drivers/net/wireless/mediatek/mt76/util.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2016 Felix Fietkau <nbd@nbd.name> |
| * Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76_UTIL_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76X0U_EEPROM_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/init.c |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/init.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt76x0.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| * Copyright (C) 2018 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76X0U_INITVALS_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/initvals_phy.h |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/initvals_phy.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76X0U_PHY_INITVALS_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/main.c |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/main.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/etherdevice.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76X0U_MCU_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MT76X0U_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.h |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2018 Stanislaw Gruszka <stf_xl@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| #ifndef _MT76X0_PHY_H_ |
| #define _MT76X0_PHY_H_ |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c |
| +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/core.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/core.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/debugfs.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/debugfs.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/debugfs.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/dma.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/dma.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/dma.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/dma.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7601U_DMA_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/eeprom.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/eeprom.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/of.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/eeprom.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/eeprom.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7601U_EEPROM_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/init.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/init.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/initvals.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/initvals.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7601U_INITVALS_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/initvals_phy.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/initvals_phy.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7601U_PHY_INITVALS_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/mac.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/mac.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/mac.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/mac.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76_MAC_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/main.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/main.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/mcu.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/mcu.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/mcu.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/mcu.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7601U_MCU_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/mt7601u.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/mt7601u.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef MT7601U_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/phy.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/phy.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * (c) Copyright 2002-2010, Ralink Technology, Inc. |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/regs.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/regs.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT76_REGS_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/trace.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/trace.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/trace.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/trace.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #if !defined(__MT7601U_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/tx.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/tx.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/usb.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/usb.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/usb.h |
| +++ b/drivers/net/wireless/mediatek/mt7601u/usb.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT7601U_USB_H |
| |
| |
| --- a/drivers/net/wireless/mediatek/mt7601u/util.c |
| +++ b/drivers/net/wireless/mediatek/mt7601u/util.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.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 |
| - * 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 "mt7601u.h" |
| |
| |
| --- a/drivers/nvmem/mtk-efuse.c |
| +++ b/drivers/nvmem/mtk-efuse.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/nvmem/uniphier-efuse.c |
| +++ b/drivers/nvmem/uniphier-efuse.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * UniPhier eFuse driver |
| * |
| * Copyright (C) 2017 Socionext Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/perf/arm-ccn.c |
| +++ b/drivers/perf/arm-ccn.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2014 ARM Limited |
| */ |
| |
| |
| --- a/drivers/pinctrl/pinctrl-rockchip.c |
| +++ b/drivers/pinctrl/pinctrl-rockchip.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Pinctrl driver for Rockchip SoCs |
| * |
| @@ -12,15 +13,6 @@ |
| * |
| * and pinctrl-at91: |
| * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mt2701.c |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mt2701.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Biao Huang <biao.huang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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 <dt-bindings/pinctrl/mt65xx.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mt6397.c |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mt6397.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mt8127.c |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mt8127.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| * Yingjoe Chen <yingjoe.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mt8135.c |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mt8135.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mt8173.c |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mt8173.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014-2015 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * mt65xx pinctrl driver based on Allwinner A1X pinctrl driver. |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.h |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __PINCTRL_MTK_COMMON_H |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Biao Huang <biao.huang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __PINCTRL_MTK_MT2701_H |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __PINCTRL_MTK_MT8135_H |
| |
| |
| --- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt8173.h |
| +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt8173.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __PINCTRL_MTK_MT8173_H |
| |
| |
| --- a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c |
| +++ b/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Spreadtrum pin controller driver |
| * Copyright (C) 2017 Spreadtrum - http://www.spreadtrum.com |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/pinctrl/sprd/pinctrl-sprd.c |
| +++ b/drivers/pinctrl/sprd/pinctrl-sprd.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Spreadtrum pin controller driver |
| * Copyright (C) 2017 Spreadtrum - http://www.spreadtrum.com |
| - * |
| - * 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. |
| - * |
| - * 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/debugfs.h> |
| |
| |
| --- a/drivers/pinctrl/sprd/pinctrl-sprd.h |
| +++ b/drivers/pinctrl/sprd/pinctrl-sprd.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Driver header file for pin controller driver |
| * Copyright (C) 2017 Spreadtrum - http://www.spreadtrum.com |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __PINCTRL_SPRD_H__ |
| |
| |
| --- a/drivers/platform/x86/dell-wmi-descriptor.c |
| +++ b/drivers/platform/x86/dell-wmi-descriptor.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Dell WMI descriptor driver |
| * |
| * Copyright (C) 2017 Dell Inc. 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 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. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/platform/x86/wmi-bmof.c |
| +++ b/drivers/platform/x86/wmi-bmof.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * WMI embedded Binary MOF driver |
| * |
| * Copyright (c) 2015 Andrew Lutomirski |
| * Copyright (C) 2017 VMware, Inc. 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 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. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/power/reset/vexpress-poweroff.c |
| +++ b/drivers/power/reset/vexpress-poweroff.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/drivers/power/supply/axp288_charger.c |
| +++ b/drivers/power/supply/axp288_charger.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * axp288_charger.c - X-power AXP288 PMIC Charger driver |
| * |
| * Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com> |
| * Copyright (C) 2014 Intel Corporation |
| * Author: Ramakrishna Pallala <ramakrishna.pallala@intel.com> |
| - * |
| - * 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. |
| - * |
| - * 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/acpi.h> |
| |
| |
| --- a/drivers/power/supply/cpcap-charger.c |
| +++ b/drivers/power/supply/cpcap-charger.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Motorola CPCAP PMIC battery charger driver |
| * |
| @@ -7,15 +8,6 @@ |
| * on earlier driver found in the Motorola Linux kernel: |
| * |
| * Copyright (C) 2009-2010 Motorola, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/atomic.h> |
| |
| |
| --- a/drivers/pwm/pwm-crc.c |
| +++ b/drivers/pwm/pwm-crc.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2015 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 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: Shobhit Kumar <shobhit.kumar@intel.com> |
| */ |
| |
| |
| --- a/drivers/pwm/pwm-mtk-disp.c |
| +++ b/drivers/pwm/pwm-mtk-disp.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * MediaTek display pulse-width-modulation controller driver. |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: YH Huang <yh.huang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/regulator/ltc3589.c |
| +++ b/drivers/regulator/ltc3589.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Linear Technology LTC3589,LTC3589-1 regulator support |
| * |
| @@ -5,16 +6,6 @@ |
| * |
| * See file CREDITS for list of people who contributed to this |
| * project. |
| - * |
| - * 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. |
| - * |
| - * 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/i2c.h> |
| #include <linux/init.h> |
| |
| |
| --- a/drivers/regulator/ltc3676.c |
| +++ b/drivers/regulator/ltc3676.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2016 Gateworks Corporation, Inc. 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 |
| - * 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/i2c.h> |
| #include <linux/init.h> |
| |
| |
| --- a/drivers/regulator/mt6311-regulator.c |
| +++ b/drivers/regulator/mt6311-regulator.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Henry Chen <henryc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/err.h> |
| |
| |
| --- a/drivers/regulator/mt6311-regulator.h |
| +++ b/drivers/regulator/mt6311-regulator.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Henry Chen <henryc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MT6311_REGULATOR_H__ |
| |
| |
| --- a/drivers/regulator/mt6380-regulator.c |
| +++ b/drivers/regulator/mt6380-regulator.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chenglin Xu <chenglin.xu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/regulator/mt6397-regulator.c |
| +++ b/drivers/regulator/mt6397-regulator.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu <flora.fu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/regulator/vexpress-regulator.c |
| +++ b/drivers/regulator/vexpress-regulator.c |
| @@ -1,12 +1,5 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/drivers/remoteproc/keystone_remoteproc.c |
| +++ b/drivers/remoteproc/keystone_remoteproc.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * TI Keystone DSP remoteproc driver |
| * |
| * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/remoteproc/omap_remoteproc.c |
| +++ b/drivers/remoteproc/omap_remoteproc.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * OMAP Remote Processor driver |
| * |
| @@ -10,15 +11,6 @@ |
| * Mark Grosen <mgrosen@ti.com> |
| * Suman Anna <s-anna@ti.com> |
| * Hari Kanigeri <h-kanigeri2@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/remoteproc/qcom_common.c |
| +++ b/drivers/remoteproc/qcom_common.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Qualcomm Peripheral Image Loader helpers |
| * |
| * Copyright (C) 2016 Linaro Ltd |
| * Copyright (C) 2015 Sony Mobile Communications Inc |
| * Copyright (c) 2012-2013, The Linux Foundation. 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 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/firmware.h> |
| |
| |
| --- a/drivers/remoteproc/qcom_q6v5_mss.c |
| +++ b/drivers/remoteproc/qcom_q6v5_mss.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Qualcomm self-authenticating modem subsystem remoteproc driver |
| * |
| * Copyright (C) 2016 Linaro Ltd. |
| * Copyright (C) 2014 Sony Mobile Communications AB |
| * Copyright (c) 2012-2013, The Linux Foundation. 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 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/clk.h> |
| |
| |
| --- a/drivers/remoteproc/qcom_q6v5_pas.c |
| +++ b/drivers/remoteproc/qcom_q6v5_pas.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Qualcomm ADSP/SLPI Peripheral Image Loader for MSM8974 and MSM8996 |
| * |
| * Copyright (C) 2016 Linaro Ltd |
| * Copyright (C) 2014 Sony Mobile Communications AB |
| * Copyright (c) 2012-2013, The Linux Foundation. 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 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/clk.h> |
| |
| |
| --- a/drivers/remoteproc/qcom_wcnss.c |
| +++ b/drivers/remoteproc/qcom_wcnss.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Qualcomm Wireless Connectivity Subsystem Peripheral Image Loader |
| * |
| * Copyright (C) 2016 Linaro Ltd |
| * Copyright (C) 2014 Sony Mobile Communications AB |
| * Copyright (c) 2012-2013, The Linux Foundation. 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 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/clk.h> |
| |
| |
| --- a/drivers/remoteproc/qcom_wcnss_iris.c |
| +++ b/drivers/remoteproc/qcom_wcnss_iris.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Qualcomm Wireless Connectivity Subsystem Iris driver |
| * |
| * Copyright (C) 2016 Linaro Ltd |
| * Copyright (C) 2014 Sony Mobile Communications AB |
| * Copyright (c) 2012-2013, The Linux Foundation. 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 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/clk.h> |
| |
| |
| --- a/drivers/remoteproc/remoteproc_core.c |
| +++ b/drivers/remoteproc/remoteproc_core.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Remote Processor Framework |
| * |
| @@ -11,15 +12,6 @@ |
| * Suman Anna <s-anna@ti.com> |
| * Robert Tivy <rtivy@ti.com> |
| * Armando Uribe De Leon <x0095078@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) "%s: " fmt, __func__ |
| |
| |
| --- a/drivers/remoteproc/remoteproc_debugfs.c |
| +++ b/drivers/remoteproc/remoteproc_debugfs.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Remote Processor Framework |
| * |
| @@ -11,15 +12,6 @@ |
| * Suman Anna <s-anna@ti.com> |
| * Robert Tivy <rtivy@ti.com> |
| * Armando Uribe De Leon <x0095078@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) "%s: " fmt, __func__ |
| |
| |
| --- a/drivers/remoteproc/remoteproc_elf_loader.c |
| +++ b/drivers/remoteproc/remoteproc_elf_loader.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Remote Processor Framework Elf loader |
| * |
| @@ -12,15 +13,6 @@ |
| * Robert Tivy <rtivy@ti.com> |
| * Armando Uribe De Leon <x0095078@ti.com> |
| * Sjur Brændeland <sjur.brandeland@stericsson.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) "%s: " fmt, __func__ |
| |
| |
| --- a/drivers/remoteproc/remoteproc_sysfs.c |
| +++ b/drivers/remoteproc/remoteproc_sysfs.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Remote Processor Framework |
| - * |
| - * 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. |
| - * |
| - * 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/remoteproc.h> |
| |
| |
| --- a/drivers/remoteproc/wkup_m3_rproc.c |
| +++ b/drivers/remoteproc/wkup_m3_rproc.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * TI AMx3 Wakeup M3 Remote Processor driver |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Dave Gerlach <d-gerlach@ti.com> |
| * Suman Anna <s-anna@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/err.h> |
| |
| |
| --- a/drivers/rtc/rtc-ac100.c |
| +++ b/drivers/rtc/rtc-ac100.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * RTC Driver for X-Powers AC100 |
| * |
| * Copyright (c) 2016 Chen-Yu Tsai |
| * |
| * Chen-Yu Tsai <wens@csie.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 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/bcd.h> |
| |
| |
| --- a/drivers/rtc/rtc-brcmstb-waketimer.c |
| +++ b/drivers/rtc/rtc-brcmstb-waketimer.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2014-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/rtc/rtc-cpcap.c |
| +++ b/drivers/rtc/rtc-cpcap.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Motorola CPCAP PMIC RTC driver |
| * |
| @@ -12,15 +13,6 @@ |
| * - remove custom "secure clock daemon" helpers |
| * |
| * 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 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/kernel.h> |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/rtc/rtc-mt6397.c |
| +++ b/drivers/rtc/rtc-mt6397.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014-2015 MediaTek Inc. |
| * Author: Tianping.Fang <tianping.fang@mediatek.com> |
| -* |
| -* 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. |
| -* |
| -* 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/delay.h> |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/biuctrl.c |
| +++ b/drivers/soc/bcm/brcmstb/biuctrl.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Broadcom STB SoCs Bus Unit Interface controls |
| * |
| * Copyright (C) 2015, Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) "brcmstb: " KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/common.c |
| +++ b/drivers/soc/bcm/brcmstb/common.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2014 NVIDIA Corporation |
| * Copyright © 2015 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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/io.h> |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/aon_defs.h |
| +++ b/drivers/soc/bcm/brcmstb/pm/aon_defs.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Always ON (AON) register interface between bootloader and Linux |
| * |
| * Copyright © 2014-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __BRCMSTB_AON_DEFS_H__ |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/pm-arm.c |
| +++ b/drivers/soc/bcm/brcmstb/pm/pm-arm.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ARM-specific support for Broadcom STB S2/S3/S5 power management |
| * |
| @@ -8,15 +9,6 @@ |
| * treat this mode like a soft power-off, with wakeup allowed from AON |
| * |
| * Copyright © 2014-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #define pr_fmt(fmt) "brcmstb-pm: " fmt |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/pm-mips.c |
| +++ b/drivers/soc/bcm/brcmstb/pm/pm-mips.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * MIPS-specific support for Broadcom STB S2/S3/S5 power management |
| * |
| * Copyright (C) 2016-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/pm.h |
| +++ b/drivers/soc/bcm/brcmstb/pm/pm.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Definitions for Broadcom STB power management / Always ON (AON) block |
| * |
| * Copyright © 2016-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __BRCMSTB_PM_H__ |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/s2-arm.S |
| +++ b/drivers/soc/bcm/brcmstb/pm/s2-arm.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright © 2014-2017 Broadcom |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/s2-mips.S |
| +++ b/drivers/soc/bcm/brcmstb/pm/s2-mips.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2016 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/asm.h> |
| |
| |
| --- a/drivers/soc/bcm/brcmstb/pm/s3-mips.S |
| +++ b/drivers/soc/bcm/brcmstb/pm/s3-mips.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2016 Broadcom Corporation |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/asm.h> |
| |
| |
| --- a/drivers/soc/mediatek/mtk-infracfg.c |
| +++ b/drivers/soc/mediatek/mtk-infracfg.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 Pengutronix, Sascha Hauer <kernel@pengutronix.de> |
| - * |
| - * 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. |
| - * |
| - * 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/export.h> |
| |
| |
| --- a/drivers/soc/mediatek/mtk-pmic-wrap.c |
| +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu, MediaTek |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| #include <linux/interrupt.h> |
| |
| |
| --- a/drivers/soc/mediatek/mtk-scpsys.c |
| +++ b/drivers/soc/mediatek/mtk-scpsys.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 Pengutronix, Sascha Hauer <kernel@pengutronix.de> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| #include <linux/init.h> |
| |
| |
| --- a/drivers/soc/qcom/mdt_loader.c |
| +++ b/drivers/soc/qcom/mdt_loader.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Qualcomm Peripheral Image Loader |
| * |
| * Copyright (C) 2016 Linaro Ltd |
| * Copyright (C) 2015 Sony Mobile Communications Inc |
| * Copyright (c) 2012-2013, The Linux Foundation. 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 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/device.h> |
| |
| |
| --- a/drivers/soc/ti/knav_qmss.h |
| +++ b/drivers/soc/ti/knav_qmss.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Keystone Navigator QMSS driver internal header |
| * |
| @@ -5,15 +6,6 @@ |
| * Author: Sandeep Nair <sandeep_n@ti.com> |
| * Cyril Chemparathy <cyril@ti.com> |
| * Santosh Shilimkar <santosh.shilimkar@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __KNAV_QMSS_H__ |
| |
| |
| --- a/drivers/soc/ti/knav_qmss_acc.c |
| +++ b/drivers/soc/ti/knav_qmss_acc.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Keystone accumulator queue manager |
| * |
| @@ -5,15 +6,6 @@ |
| * Author: Sandeep Nair <sandeep_n@ti.com> |
| * Cyril Chemparathy <cyril@ti.com> |
| * Santosh Shilimkar <santosh.shilimkar@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/dma-mapping.h> |
| |
| |
| --- a/drivers/soc/ti/knav_qmss_queue.c |
| +++ b/drivers/soc/ti/knav_qmss_queue.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Keystone Queue Manager subsystem driver |
| * |
| @@ -5,15 +6,6 @@ |
| * Authors: Sandeep Nair <sandeep_n@ti.com> |
| * Cyril Chemparathy <cyril@ti.com> |
| * Santosh Shilimkar <santosh.shilimkar@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/debugfs.h> |
| |
| |
| --- a/drivers/soc/ti/ti_sci_pm_domains.c |
| +++ b/drivers/soc/ti/ti_sci_pm_domains.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * TI SCI Generic Power Domain Driver |
| * |
| * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ |
| * J Keerthy <j-keerthy@ti.com> |
| * Dave Gerlach <d-gerlach@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/err.h> |
| |
| |
| --- a/drivers/soc/ti/wkup_m3_ipc.c |
| +++ b/drivers/soc/ti/wkup_m3_ipc.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * AMx3 Wkup M3 IPC driver |
| * |
| * Copyright (C) 2015 Texas Instruments, Inc. |
| * |
| * Dave Gerlach <d-gerlach@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/err.h> |
| |
| |
| --- a/drivers/spi/spi-iproc-qspi.c |
| +++ b/drivers/spi/spi-iproc-qspi.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2016 Broadcom Limited |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/spi/spi-mt65xx.c |
| +++ b/drivers/spi/spi-mt65xx.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Leilk Liu <leilk.liu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/thermal/mtk_thermal.c |
| +++ b/drivers/thermal/mtk_thermal.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Hanyi Wu <hanyi.wu@mediatek.com> |
| * Sascha Hauer <s.hauer@pengutronix.de> |
| * Dawei Chien <dawei.chien@mediatek.com> |
| * Louis Yu <louis.yu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/drivers/thermal/intel/intel_bxt_pmic_thermal.c |
| +++ b/drivers/thermal/intel/intel_bxt_pmic_thermal.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Broxton PMIC thermal driver |
| * |
| * Copyright (C) 2016 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 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/module.h> |
| |
| |
| --- a/drivers/vfio/platform/vfio_amba.c |
| +++ b/drivers/vfio/platform/vfio_amba.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2013 - Virtual Open Systems |
| * Author: Antonios Motakis <a.motakis@virtualopensystems.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/vfio/platform/vfio_platform.c |
| +++ b/drivers/vfio/platform/vfio_platform.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2013 - Virtual Open Systems |
| * Author: Antonios Motakis <a.motakis@virtualopensystems.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/drivers/vfio/platform/vfio_platform_common.c |
| +++ b/drivers/vfio/platform/vfio_platform_common.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2013 - Virtual Open Systems |
| * Author: Antonios Motakis <a.motakis@virtualopensystems.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/vfio/platform/vfio_platform_irq.c |
| +++ b/drivers/vfio/platform/vfio_platform_irq.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VFIO platform devices interrupt handling |
| * |
| * Copyright (C) 2013 - Virtual Open Systems |
| * Author: Antonios Motakis <a.motakis@virtualopensystems.com> |
| - * |
| - * 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. |
| - * |
| - * 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/eventfd.h> |
| |
| |
| --- a/drivers/vfio/platform/vfio_platform_private.h |
| +++ b/drivers/vfio/platform/vfio_platform_private.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2013 - Virtual Open Systems |
| * Author: Antonios Motakis <a.motakis@virtualopensystems.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef VFIO_PLATFORM_PRIVATE_H |
| |
| |
| --- a/drivers/video/fbdev/tmiofb.c |
| +++ b/drivers/video/fbdev/tmiofb.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Frame Buffer Device for Toshiba Mobile IO(TMIO) controller |
| * |
| @@ -8,15 +9,6 @@ |
| * Based on: |
| * drivers/video/w100fb.c |
| * code written by Sharp/Lineo for 2.4 kernels |
| - * |
| - * 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; |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c |
| +++ b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2013 Texas Instruments |
| * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/device.h> |
| |
| |
| --- a/drivers/watchdog/sprd_wdt.c |
| +++ b/drivers/watchdog/sprd_wdt.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Spreadtrum watchdog driver |
| * Copyright (C) 2017 Spreadtrum - http://www.spreadtrum.com |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| |
| |
| --- a/fs/ocfs2/acl.c |
| +++ b/fs/ocfs2/acl.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -8,15 +9,6 @@ |
| * CREDITS: |
| * Lots of code in this file is copy from linux/fs/ext3/acl.c. |
| * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/fs/ocfs2/acl.h |
| +++ b/fs/ocfs2/acl.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * acl.h |
| * |
| * Copyright (C) 2004, 2008 Oracle. 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 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. |
| */ |
| |
| #ifndef OCFS2_ACL_H |
| |
| |
| --- a/fs/ocfs2/blockcheck.c |
| +++ b/fs/ocfs2/blockcheck.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Checksum and ECC codes for the OCFS2 userspace library. |
| * |
| * Copyright (C) 2006, 2008 Oracle. 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, 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/kernel.h> |
| |
| |
| --- a/fs/ocfs2/blockcheck.h |
| +++ b/fs/ocfs2/blockcheck.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Checksum and ECC codes for the OCFS2 userspace library. |
| * |
| * Copyright (C) 2004, 2008 Oracle. 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, 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. |
| */ |
| |
| #ifndef OCFS2_BLOCKCHECK_H |
| |
| |
| --- a/fs/ocfs2/move_extents.c |
| +++ b/fs/ocfs2/move_extents.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * move_extents.c |
| * |
| * Copyright (C) 2011 Oracle. 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 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/fs.h> |
| #include <linux/types.h> |
| |
| |
| --- a/fs/ocfs2/move_extents.h |
| +++ b/fs/ocfs2/move_extents.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * move_extents.h |
| * |
| * Copyright (C) 2011 Oracle. 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 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. |
| */ |
| #ifndef OCFS2_MOVE_EXTENTS_H |
| #define OCFS2_MOVE_EXTENTS_H |
| |
| |
| --- a/fs/ocfs2/ocfs2_ioctl.h |
| +++ b/fs/ocfs2/ocfs2_ioctl.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Defines OCFS2 ioctls. |
| * |
| * Copyright (C) 2010 Oracle. 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, 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. |
| */ |
| |
| #ifndef OCFS2_IOCTL_H |
| |
| |
| --- a/fs/ocfs2/ocfs2_lockingver.h |
| +++ b/fs/ocfs2/ocfs2_lockingver.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Defines OCFS2 Locking version values. |
| * |
| * Copyright (C) 2008 Oracle. 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, 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. |
| */ |
| |
| #ifndef OCFS2_LOCKINGVER_H |
| |
| |
| --- a/fs/ocfs2/refcounttree.c |
| +++ b/fs/ocfs2/refcounttree.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * refcounttree.c |
| * |
| * Copyright (C) 2009 Oracle. 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 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/sort.h> |
| |
| |
| --- a/fs/ocfs2/refcounttree.h |
| +++ b/fs/ocfs2/refcounttree.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * refcounttree.h |
| * |
| * Copyright (C) 2009 Oracle. 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 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. |
| */ |
| #ifndef OCFS2_REFCOUNTTREE_H |
| #define OCFS2_REFCOUNTTREE_H |
| |
| |
| --- a/fs/ocfs2/reservations.c |
| +++ b/fs/ocfs2/reservations.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -13,15 +14,6 @@ |
| * Universite Pierre et Marie Curie (Paris VI) |
| * |
| * The rest is copyright (C) 2010 Novell. 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 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/fs.h> |
| |
| |
| --- a/fs/ocfs2/reservations.h |
| +++ b/fs/ocfs2/reservations.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Allocation reservations function prototypes and structures. |
| * |
| * Copyright (C) 2010 Novell. 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 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. |
| */ |
| |
| #ifndef OCFS2_RESERVATIONS_H |
| |
| |
| --- a/fs/ocfs2/xattr.c |
| +++ b/fs/ocfs2/xattr.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -8,15 +9,6 @@ |
| * CREDITS: |
| * Lots of code in this file is copy from linux/fs/ext3/xattr.c. |
| * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> |
| - * |
| - * 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. |
| - * |
| - * 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/capability.h> |
| |
| |
| --- a/fs/ocfs2/xattr.h |
| +++ b/fs/ocfs2/xattr.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * xattr.h |
| * |
| * Copyright (C) 2004, 2008 Oracle. 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 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. |
| */ |
| |
| #ifndef OCFS2_XATTR_H |
| |
| |
| --- a/include/acpi/acpi_lpat.h |
| +++ b/include/acpi/acpi_lpat.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * acpi_lpat.h - LPAT table processing functions |
| * |
| * Copyright (C) 2015 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 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. |
| */ |
| |
| #ifndef ACPI_LPAT_H |
| |
| |
| --- a/include/dt-bindings/clock/mt2701-clk.h |
| +++ b/include/dt-bindings/clock/mt2701-clk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_CLK_MT2701_H |
| |
| |
| --- a/include/dt-bindings/clock/mt2712-clk.h |
| +++ b/include/dt-bindings/clock/mt2712-clk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Weiyi Lu <weiyi.lu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_CLK_MT2712_H |
| |
| |
| --- a/include/dt-bindings/clock/mt6797-clk.h |
| +++ b/include/dt-bindings/clock/mt6797-clk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Kevin Chen <kevin-cw.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_CLK_MT6797_H |
| |
| |
| --- a/include/dt-bindings/clock/mt7622-clk.h |
| +++ b/include/dt-bindings/clock/mt7622-clk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chen Zhong <chen.zhong@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_CLK_MT7622_H |
| |
| |
| --- a/include/dt-bindings/clock/mt8135-clk.h |
| +++ b/include/dt-bindings/clock/mt8135-clk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_CLK_MT8135_H |
| |
| |
| --- a/include/dt-bindings/clock/mt8173-clk.h |
| +++ b/include/dt-bindings/clock/mt8173-clk.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: James Liao <jamesjj.liao@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_CLK_MT8173_H |
| |
| |
| --- a/include/dt-bindings/input/ti-drv260x.h |
| +++ b/include/dt-bindings/input/ti-drv260x.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * DRV260X haptics driver family |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| * |
| * Copyright: (C) 2014 Texas Instruments, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_TI_DRV260X_H |
| |
| |
| --- a/include/dt-bindings/media/omap3-isp.h |
| +++ b/include/dt-bindings/media/omap3-isp.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * include/dt-bindings/media/omap3-isp.h |
| * |
| * Copyright (C) 2015 Sakari Ailus |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __DT_BINDINGS_OMAP3_ISP_H__ |
| |
| |
| --- a/include/dt-bindings/memory/mt2701-larb-port.h |
| +++ b/include/dt-bindings/memory/mt2701-larb-port.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Honghui Zhang <honghui.zhang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MT2701_LARB_PORT_H_ |
| |
| |
| --- a/include/dt-bindings/memory/mt8173-larb-port.h |
| +++ b/include/dt-bindings/memory/mt8173-larb-port.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Yong Wu <yong.wu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef __DTS_IOMMU_PORT_MT8173_H |
| #define __DTS_IOMMU_PORT_MT8173_H |
| |
| |
| --- a/include/dt-bindings/net/ti-dp83867.h |
| +++ b/include/dt-bindings/net/ti-dp83867.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Device Tree constants for the Texas Instruments DP83867 PHY |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| * |
| * Copyright: (C) 2015 Texas Instruments, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_TI_DP83867_H |
| |
| |
| --- a/include/dt-bindings/pinctrl/mt65xx.h |
| +++ b/include/dt-bindings/pinctrl/mt65xx.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_PINCTRL_MT65XX_H |
| |
| |
| --- a/include/dt-bindings/power/mt2701-power.h |
| +++ b/include/dt-bindings/power/mt2701-power.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 MediaTek Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_POWER_MT2701_POWER_H |
| |
| |
| --- a/include/dt-bindings/reset/mt2701-resets.h |
| +++ b/include/dt-bindings/reset/mt2701-resets.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek, Shunli Wang <shunli.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT2701 |
| |
| |
| --- a/include/dt-bindings/reset/mt7622-reset.h |
| +++ b/include/dt-bindings/reset/mt7622-reset.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Sean Wang <sean.wang@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7622 |
| |
| |
| --- a/include/dt-bindings/reset/mt8135-resets.h |
| +++ b/include/dt-bindings/reset/mt8135-resets.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu, MediaTek |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8135 |
| |
| |
| --- a/include/dt-bindings/reset/mt8173-resets.h |
| +++ b/include/dt-bindings/reset/mt8173-resets.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu, MediaTek |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8173 |
| |
| |
| --- a/include/linux/bitfield.h |
| +++ b/include/linux/bitfield.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Felix Fietkau <nbd@nbd.name> |
| * Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| - * |
| - * 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 |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _LINUX_BITFIELD_H |
| |
| |
| --- a/include/linux/dma-fence-array.h |
| +++ b/include/linux/dma-fence-array.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * fence-array: aggregates fence to be waited together |
| * |
| @@ -6,15 +7,6 @@ |
| * Authors: |
| * Gustavo Padovan <gustavo@padovan.org> |
| * Christian König <christian.koenig@amd.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_DMA_FENCE_ARRAY_H |
| |
| |
| --- a/include/linux/dma-fence.h |
| +++ b/include/linux/dma-fence.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Fence mechanism for dma-buf to allow for asynchronous dma access |
| * |
| @@ -7,15 +8,6 @@ |
| * Authors: |
| * Rob Clark <robdclark@gmail.com> |
| * Maarten Lankhorst <maarten.lankhorst@canonical.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_DMA_FENCE_H |
| |
| |
| --- a/include/linux/fsi.h |
| +++ b/include/linux/fsi.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* FSI device & driver interfaces |
| * |
| * Copyright (C) IBM Corporation 2016 |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef LINUX_FSI_H |
| |
| |
| --- a/include/linux/ieee802154.h |
| +++ b/include/linux/ieee802154.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * IEEE802.15.4-2003 specification |
| * |
| * Copyright (C) 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Pavel Smolenskiy <pavel.smolenskiy@gmail.com> |
| |
| |
| --- a/include/linux/intel-pti.h |
| +++ b/include/linux/intel-pti.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) Intel 2011 |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| * |
| |
| |
| --- a/include/linux/mISDNhw.h |
| +++ b/include/linux/mISDNhw.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * |
| * Author Karsten Keil <kkeil@novell.com> |
| @@ -5,16 +6,6 @@ |
| * Basic declarations for the mISDN HW channels |
| * |
| * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef MISDNHW_H |
| |
| |
| --- a/include/linux/nl802154.h |
| +++ b/include/linux/nl802154.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * nl802154.h |
| * |
| * Copyright (C) 2007, 2008, 2009 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef NL802154_H |
| |
| |
| --- a/include/linux/psci.h |
| +++ b/include/linux/psci.h |
| @@ -1,12 +1,5 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2015 ARM Limited |
| */ |
| |
| |
| --- a/include/linux/seqno-fence.h |
| +++ b/include/linux/seqno-fence.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * seqno-fence, using a dma-buf to synchronize fencing |
| * |
| @@ -6,15 +7,6 @@ |
| * Authors: |
| * Rob Clark <robdclark@gmail.com> |
| * Maarten Lankhorst <maarten.lankhorst@canonical.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_SEQNO_FENCE_H |
| |
| |
| --- a/include/linux/uuid.h |
| +++ b/include/linux/uuid.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * UUID/GUID definition |
| * |
| * Copyright (C) 2010, 2016 Intel Corp. |
| * Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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; |
| - * |
| - * 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. |
| */ |
| #ifndef _LINUX_UUID_H_ |
| #define _LINUX_UUID_H_ |
| |
| |
| --- a/include/linux/vexpress.h |
| +++ b/include/linux/vexpress.h |
| @@ -1,12 +1,5 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copyright (C) 2012 ARM Limited |
| */ |
| |
| |
| --- a/include/linux/wmi.h |
| +++ b/include/linux/wmi.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * wmi.h - ACPI WMI interface |
| * |
| * Copyright (c) 2015 Andrew Lutomirski |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _LINUX_WMI_H |
| |
| |
| --- a/include/linux/mfd/mt6397/core.h |
| +++ b/include/linux/mfd/mt6397/core.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu, MediaTek |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MFD_MT6397_CORE_H__ |
| |
| |
| --- a/include/linux/mfd/mt6397/registers.h |
| +++ b/include/linux/mfd/mt6397/registers.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu, MediaTek |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __MFD_MT6397_REGISTERS_H__ |
| |
| |
| --- a/include/linux/platform_data/remoteproc-omap.h |
| +++ b/include/linux/platform_data/remoteproc-omap.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Remote Processor - omap-specific bits |
| * |
| * Copyright (C) 2011 Texas Instruments, Inc. |
| * Copyright (C) 2011 Google, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _PLAT_REMOTEPROC_H |
| |
| |
| --- a/include/linux/platform_data/wkup_m3.h |
| +++ b/include/linux/platform_data/wkup_m3.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * TI Wakeup M3 remote processor platform data |
| * |
| * Copyright (C) 2014-2015 Texas Instruments, Inc. |
| * |
| * Dave Gerlach <d-gerlach@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _LINUX_PLATFORM_DATA_WKUP_M3_H |
| |
| |
| --- a/include/linux/regulator/mt6311.h |
| +++ b/include/linux/regulator/mt6311.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Henry Chen <henryc.chen@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_REGULATOR_MT6311_H |
| |
| |
| --- a/include/linux/regulator/mt6323-regulator.h |
| +++ b/include/linux/regulator/mt6323-regulator.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2016 MediaTek Inc. |
| * Author: Chen Zhong <chen.zhong@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_REGULATOR_MT6323_H |
| |
| |
| --- a/include/linux/regulator/mt6380-regulator.h |
| +++ b/include/linux/regulator/mt6380-regulator.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2017 MediaTek Inc. |
| * Author: Chenglin Xu <chenglin.xu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_REGULATOR_mt6380_H |
| |
| |
| --- a/include/linux/regulator/mt6397-regulator.h |
| +++ b/include/linux/regulator/mt6397-regulator.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2014 MediaTek Inc. |
| * Author: Flora Fu <flora.fu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __LINUX_REGULATOR_MT6397_H |
| |
| |
| --- a/include/linux/spi/at86rf230.h |
| +++ b/include/linux/spi/at86rf230.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * AT86RF230/RF231 driver |
| * |
| * Copyright (C) 2009-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dmitry.baryshkov@siemens.com> |
| |
| |
| --- a/include/linux/spi/l4f00242t03.h |
| +++ b/include/linux/spi/l4f00242t03.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * l4f00242t03.h -- Platform glue for Epson L4F00242T03 LCD |
| * |
| * Copyright (c) 2009 Alberto Panizzo <maramaopercheseimorto@gmail.com> |
| * Based on Marek Vasut work in lms283gf05.h |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _INCLUDE_LINUX_SPI_L4F00242T03_H_ |
| |
| |
| --- a/include/linux/spi/lms283gf05.h |
| +++ b/include/linux/spi/lms283gf05.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * lms283gf05.h - Platform glue for Samsung LMS283GF05 LCD |
| * |
| * Copyright (C) 2009 Marek Vasut <marek.vasut@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _INCLUDE_LINUX_SPI_LMS283GF05_H_ |
| |
| |
| --- a/include/linux/spi/spi-fsl-dspi.h |
| +++ b/include/linux/spi/spi-fsl-dspi.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Freescale DSPI controller driver |
| * |
| * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef SPI_FSL_DSPI_HEADER_H |
| |
| |
| --- a/include/linux/spi/tle62x0.h |
| +++ b/include/linux/spi/tle62x0.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * tle62x0.h - platform glue to Infineon TLE62x0 driver chips |
| * |
| * Copyright 2007 Simtec Electronics |
| * Ben Dooks <ben@simtec.co.uk> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| struct tle62x0_pdata { |
| |
| |
| --- a/include/media/media-device.h |
| +++ b/include/media/media-device.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Media device |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MEDIA_DEVICE_H |
| |
| |
| --- a/include/media/media-devnode.h |
| +++ b/include/media/media-devnode.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Media device node |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * -- |
| * |
| |
| |
| --- a/include/media/media-entity.h |
| +++ b/include/media/media-entity.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Media entity |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _MEDIA_ENTITY_H |
| |
| |
| --- a/include/media/v4l2-event.h |
| +++ b/include/media/v4l2-event.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * v4l2-event.h |
| * |
| @@ -6,15 +7,6 @@ |
| * Copyright (C) 2009--2010 Nokia Corporation. |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef V4L2_EVENT_H |
| |
| |
| --- a/include/media/v4l2-fh.h |
| +++ b/include/media/v4l2-fh.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * v4l2-fh.h |
| * |
| @@ -7,15 +8,6 @@ |
| * Copyright (C) 2009--2010 Nokia Corporation. |
| * |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef V4L2_FH_H |
| |
| |
| --- a/include/media/i2c/adp1653.h |
| +++ b/include/media/i2c/adp1653.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * include/media/i2c/adp1653.h |
| * |
| @@ -8,16 +9,6 @@ |
| * Contributors: |
| * Sakari Ailus <sakari.ailus@iki.fi> |
| * Tuukka Toivonen <tuukkat76@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef ADP1653_H |
| |
| |
| --- a/include/media/i2c/adv7183.h |
| +++ b/include/media/i2c/adv7183.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * adv7183.h - definition for adv7183 inputs and outputs |
| * |
| * Copyright (c) 2011 Analog Devices Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _ADV7183_H_ |
| |
| |
| --- a/include/media/i2c/lm3560.h |
| +++ b/include/media/i2c/lm3560.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * include/media/i2c/lm3560.h |
| * |
| @@ -5,16 +6,6 @@ |
| * |
| * Contact: Daniel Jeong <gshark.jeong@gmail.com> |
| * Ldd-Mlp <ldd-mlp@list.ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __LM3560_H__ |
| |
| |
| --- a/include/media/i2c/mt9m032.h |
| +++ b/include/media/i2c/mt9m032.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Driver for MT9M032 CMOS Image Sensor from Micron |
| * |
| * Copyright (C) 2010-2011 Lund Engineering |
| * Contact: Gil Lund <gwlund@lundeng.com> |
| * Author: Martin Hostettler <martin@neutronstar.dyndns.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 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. |
| - * |
| */ |
| |
| #ifndef MT9M032_H |
| |
| |
| --- a/include/media/i2c/smiapp.h |
| +++ b/include/media/i2c/smiapp.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * include/media/i2c/smiapp.h |
| * |
| @@ -5,16 +6,6 @@ |
| * |
| * Copyright (C) 2011--2012 Nokia Corporation |
| * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __SMIAPP_H_ |
| |
| |
| --- a/include/net/af_ieee802154.h |
| +++ b/include/net/af_ieee802154.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * IEEE 802.15.4 interface for userspace |
| * |
| * Copyright 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/include/net/cfg802154.h |
| +++ b/include/net/cfg802154.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2007, 2008, 2009 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| |
| |
| --- a/include/net/ieee802154_netdev.h |
| +++ b/include/net/ieee802154_netdev.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * An interface between IEEE802.15.4 device and rest of the kernel. |
| * |
| * Copyright (C) 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Pavel Smolenskiy <pavel.smolenskiy@gmail.com> |
| |
| |
| --- a/include/net/mac802154.h |
| +++ b/include/net/mac802154.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * IEEE802.15.4-2003 specification |
| * |
| * Copyright (C) 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| #ifndef NET_MAC802154_H |
| #define NET_MAC802154_H |
| |
| |
| --- a/include/soc/mediatek/smi.h |
| +++ b/include/soc/mediatek/smi.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (c) 2015-2016 MediaTek Inc. |
| * Author: Yong Wu <yong.wu@mediatek.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| #ifndef MTK_IOMMU_SMI_H |
| #define MTK_IOMMU_SMI_H |
| |
| |
| --- a/include/sound/hdmi-codec.h |
| +++ b/include/sound/hdmi-codec.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * hdmi-codec.h - HDMI Codec driver API |
| * |
| * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Jyri Sarha <jsarha@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __HDMI_CODEC_H__ |
| |
| |
| --- a/include/sound/omap-hdmi-audio.h |
| +++ b/include/sound/omap-hdmi-audio.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * hdmi-audio.c -- OMAP4+ DSS HDMI audio support library |
| * |
| * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Jyri Sarha <jsarha@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __OMAP_HDMI_AUDIO_H__ |
| |
| |
| --- a/include/sound/tas2552-plat.h |
| +++ b/include/sound/tas2552-plat.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * TAS2552 driver platform header |
| * |
| * Copyright (C) 2014 Texas Instruments Inc. |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef TAS2552_PLAT_H |
| |
| |
| --- a/lib/stackdepot.c |
| +++ b/lib/stackdepot.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Generic stack depot for storing stack traces. |
| * |
| @@ -16,16 +17,6 @@ |
| * Copyright (C) 2016 Google, Inc. |
| * |
| * Based on code by Dmitry Chernenkov. |
| - * |
| - * 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. |
| - * |
| - * 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/gfp.h> |
| |
| |
| --- a/lib/uuid.c |
| +++ b/lib/uuid.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Unified UUID/GUID definition |
| * |
| * Copyright (C) 2009, 2016 Intel Corp. |
| * Huang Ying <ying.huang@intel.com> |
| - * |
| - * 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; |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/net/6lowpan/core.c |
| +++ b/net/6lowpan/core.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * (C) 2015 Pengutronix, Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/net/6lowpan/debugfs.c |
| +++ b/net/6lowpan/debugfs.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * (C) 2015 Pengutronix, Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/net/6lowpan/ndisc.c |
| +++ b/net/6lowpan/ndisc.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * (C) 2016 Pengutronix, Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/net/dsa/tag_lan9303.c |
| +++ b/net/dsa/tag_lan9303.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 Pengutronix, Juergen Borleis <jbe@pengutronix.de> |
| - * |
| - * 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. |
| - * |
| - * 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/dsa/lan9303.h> |
| #include <linux/etherdevice.h> |
| |
| |
| --- a/net/ieee802154/core.c |
| +++ b/net/ieee802154/core.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2007, 2008, 2009 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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/slab.h> |
| |
| |
| --- a/net/ieee802154/header_ops.c |
| +++ b/net/ieee802154/header_ops.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Fraunhofer ITWM |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> |
| |
| |
| --- a/net/ieee802154/ieee802154.h |
| +++ b/net/ieee802154/ieee802154.h |
| @@ -1,15 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2007, 2008, 2009 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| #ifndef IEEE_802154_LOCAL_H |
| #define IEEE_802154_LOCAL_H |
| |
| |
| --- a/net/ieee802154/netlink.c |
| +++ b/net/ieee802154/netlink.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Netlink interface for IEEE 802.15.4 stack |
| * |
| * Copyright 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/net/ieee802154/nl-mac.c |
| +++ b/net/ieee802154/nl-mac.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Netlink interface for IEEE 802.15.4 stack |
| * |
| * Copyright 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/net/ieee802154/nl-phy.c |
| +++ b/net/ieee802154/nl-phy.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Netlink interface for IEEE 802.15.4 stack |
| * |
| * Copyright 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/net/ieee802154/nl802154.c |
| +++ b/net/ieee802154/nl802154.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/net/ieee802154/nl_policy.c |
| +++ b/net/ieee802154/nl_policy.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * nl802154.h |
| * |
| * Copyright (C) 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/net/ieee802154/socket.c |
| +++ b/net/ieee802154/socket.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * IEEE802154.4 socket interface |
| * |
| * Copyright 2007, 2008 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/net/ieee802154/sysfs.c |
| +++ b/net/ieee802154/sysfs.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/net/ieee802154/6lowpan/rx.c |
| +++ b/net/ieee802154/6lowpan/rx.c |
| @@ -1,12 +1,4 @@ |
| -/* 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. |
| - * |
| - * 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. |
| - */ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| |
| #include <linux/if_arp.h> |
| |
| |
| |
| --- a/net/ieee802154/6lowpan/tx.c |
| +++ b/net/ieee802154/6lowpan/tx.c |
| @@ -1,12 +1,4 @@ |
| -/* 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. |
| - * |
| - * 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. |
| - */ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| |
| #include <net/6lowpan.h> |
| #include <net/ndisc.h> |
| |
| |
| --- a/net/mac802154/cfg.c |
| +++ b/net/mac802154/cfg.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/net/mac802154/ieee802154_i.h |
| +++ b/net/mac802154/ieee802154_i.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Pavel Smolenskiy <pavel.smolenskiy@gmail.com> |
| |
| |
| --- a/net/mac802154/iface.c |
| +++ b/net/mac802154/iface.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| |
| |
| --- a/net/mac802154/llsec.c |
| +++ b/net/mac802154/llsec.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Fraunhofer ITWM |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> |
| |
| |
| --- a/net/mac802154/llsec.h |
| +++ b/net/mac802154/llsec.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Fraunhofer ITWM |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> |
| |
| |
| --- a/net/mac802154/mac_cmd.c |
| +++ b/net/mac802154/mac_cmd.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * MAC commands interface |
| * |
| * Copyright 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Sergey Lapin <slapin@ossfans.org> |
| |
| |
| --- a/net/mac802154/main.c |
| +++ b/net/mac802154/main.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2007-2012 Siemens AG |
| * |
| * Written by: |
| * Alexander Smirnov <alex.bluesman.smirnov@gmail.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/net/mac802154/mib.c |
| +++ b/net/mac802154/mib.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| |
| |
| --- a/net/mac802154/rx.c |
| +++ b/net/mac802154/rx.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Pavel Smolenskiy <pavel.smolenskiy@gmail.com> |
| |
| |
| --- a/net/mac802154/tx.c |
| +++ b/net/mac802154/tx.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2007-2012 Siemens AG |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Written by: |
| * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| |
| |
| --- a/net/mac802154/util.c |
| +++ b/net/mac802154/util.c |
| @@ -1,11 +1,5 @@ |
| -/* 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. |
| - * |
| - * 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. |
| +// SPDX-License-Identifier: GPL-2.0-only |
| +/* |
| * |
| * Authors: |
| * Alexander Aring <aar@pengutronix.de> |
| |
| |
| --- a/sound/soc/bcm/bcm2835-i2s.c |
| +++ b/sound/soc/bcm/bcm2835-i2s.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ALSA SoC I2S Audio Layer for Broadcom BCM2835 SoC |
| * |
| @@ -20,15 +21,6 @@ |
| * Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver |
| * Author: Timur Tabi <timur@freescale.com> |
| * Copyright 2007-2010 Freescale Semiconductor, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| |
| |
| --- a/sound/soc/codecs/cs42l51.c |
| +++ b/sound/soc/codecs/cs42l51.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * cs42l51.c |
| * |
| @@ -6,15 +7,6 @@ |
| * Copyright (c) 2010 Arnaud Patard <apatard@mandriva.com> |
| * |
| * Based on cs4270.c - Copyright (c) Freescale Semiconductor |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * For now: |
| * - Only I2C is support. Not SPI |
| |
| |
| --- a/sound/soc/codecs/cs43130.h |
| +++ b/sound/soc/codecs/cs43130.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * ALSA SoC CS43130 codec driver |
| * |
| * Copyright 2017 Cirrus Logic, Inc. |
| * |
| * Author: Li Xu <li.xu@cirrus.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __CS43130_H__ |
| |
| |
| --- a/sound/soc/codecs/cs4349.h |
| +++ b/sound/soc/codecs/cs4349.h |
| @@ -1,19 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * ALSA SoC CS4349 codec driver |
| * |
| * Copyright 2015 Cirrus Logic, Inc. |
| * |
| * Author: Tim Howe <Tim.Howe@cirrus.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __CS4349_H__ |
| |
| |
| --- a/sound/soc/codecs/hdmi-codec.c |
| +++ b/sound/soc/codecs/hdmi-codec.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ALSA SoC codec for HDMI encoder drivers |
| * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ |
| * Author: Jyri Sarha <jsarha@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| #include <linux/string.h> |
| |
| |
| --- a/sound/soc/codecs/pcm5102a.c |
| +++ b/sound/soc/codecs/pcm5102a.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the PCM5102A codec |
| * |
| * Author: Florian Meier <florian.meier@koalo.de> |
| * Copyright 2013 |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/sound/soc/codecs/pcm512x-i2c.c |
| +++ b/sound/soc/codecs/pcm512x-i2c.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the PCM512x CODECs |
| * |
| * Author: Mark Brown <broonie@kernel.org> |
| * Copyright 2014 Linaro Ltd |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/sound/soc/codecs/pcm512x-spi.c |
| +++ b/sound/soc/codecs/pcm512x-spi.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the PCM512x CODECs |
| * |
| * Author: Mark Brown <broonie@kernel.org> |
| * Copyright 2014 Linaro Ltd |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/sound/soc/codecs/pcm512x.c |
| +++ b/sound/soc/codecs/pcm512x.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the PCM512x CODECs |
| * |
| * Author: Mark Brown <broonie@kernel.org> |
| * Copyright 2014 Linaro Ltd |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/sound/soc/codecs/pcm512x.h |
| +++ b/sound/soc/codecs/pcm512x.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Driver for the PCM512x CODECs |
| * |
| * Author: Mark Brown <broonie@kernel.org> |
| * Copyright 2014 Linaro Ltd |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef _SND_SOC_PCM512X |
| |
| |
| --- a/sound/soc/codecs/tas2552.c |
| +++ b/sound/soc/codecs/tas2552.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tas2552.c - ALSA SoC Texas Instruments TAS2552 Mono Audio Amplifier |
| * |
| * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/sound/soc/codecs/tas2552.h |
| +++ b/sound/soc/codecs/tas2552.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * tas2552.h - ALSA SoC Texas Instruments TAS2552 Mono Audio Amplifier |
| * |
| * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Dan Murphy <dmurphy@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __TAS2552_H__ |
| |
| |
| --- a/sound/soc/codecs/tas5720.c |
| +++ b/sound/soc/codecs/tas5720.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier |
| * |
| * Copyright (C)2015-2016 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Andreas Dannenberg <dannenberg@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/sound/soc/codecs/tas5720.h |
| +++ b/sound/soc/codecs/tas5720.h |
| @@ -1,18 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * tas5720.h - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier |
| * |
| * Copyright (C)2015-2016 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Andreas Dannenberg <dannenberg@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __TAS5720_H__ |
| |
| |
| --- a/sound/soc/codecs/tda7419.c |
| +++ b/sound/soc/codecs/tda7419.c |
| @@ -1,18 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * TDA7419 audio processor driver |
| * |
| * Copyright 2018 Konsulko Group |
| * |
| * Author: Matt Porter <mporter@konsulko.com> |
| - * |
| - * 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. |
| - * |
| - * 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/i2c.h> |
| |
| |
| --- a/sound/soc/intel/boards/broadwell.c |
| +++ b/sound/soc/intel/boards/broadwell.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Broadwell Wildcatpoint SST Audio |
| * |
| * 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 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/module.h> |
| |
| |
| --- a/sound/soc/intel/boards/bxt_da7219_max98357a.c |
| +++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Broxton-P I2S Machine Driver |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Modified from: |
| * Intel Skylake I2S Machine driver |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/cpu_device_id.h> |
| |
| |
| --- a/sound/soc/intel/boards/bxt_rt298.c |
| +++ b/sound/soc/intel/boards/bxt_rt298.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Broxton-P I2S Machine Driver |
| * |
| @@ -5,15 +6,6 @@ |
| * |
| * Modified from: |
| * Intel Skylake I2S Machine driver |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/sound/soc/intel/boards/haswell.c |
| +++ b/sound/soc/intel/boards/haswell.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Haswell Lynxpoint SST Audio |
| * |
| * 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 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/module.h> |
| |
| |
| --- a/sound/soc/intel/boards/kbl_rt5663_max98927.c |
| +++ b/sound/soc/intel/boards/kbl_rt5663_max98927.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Kabylake I2S Machine Driver with MAXIM98927 |
| * and RT5663 Codecs |
| @@ -6,15 +7,6 @@ |
| * |
| * Modified from: |
| * Intel Skylake I2S Machine driver |
| - * |
| - * 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. |
| - * |
| - * 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/input.h> |
| |
| |
| --- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c |
| +++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Kabylake I2S Machine Driver with MAXIM98927 |
| * RT5514 and RT5663 Codecs |
| @@ -7,15 +8,6 @@ |
| * Modified from: |
| * Intel Kabylake I2S Machine driver supporting MAXIM98927 and |
| * RT5663 codecs |
| - * |
| - * 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. |
| - * |
| - * 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/input.h> |
| |
| |
| --- a/sound/soc/intel/boards/skl_nau88l25_max98357a.c |
| +++ b/sound/soc/intel/boards/skl_nau88l25_max98357a.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Skylake I2S Machine Driver with MAXIM98357A |
| * and NAU88L25 |
| * |
| * Copyright (C) 2015, 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 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/module.h> |
| |
| |
| --- a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c |
| +++ b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Skylake I2S Machine Driver for NAU88L25+SSM4567 |
| * |
| @@ -7,15 +8,6 @@ |
| * Intel Skylake I2S Machine Driver for NAU88L25 and SSM4567 |
| * |
| * Copyright (C) 2015, 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 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/module.h> |
| |
| |
| --- a/sound/soc/intel/boards/skl_rt286.c |
| +++ b/sound/soc/intel/boards/skl_rt286.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Skylake I2S Machine Driver |
| * |
| @@ -7,15 +8,6 @@ |
| * Intel Broadwell Wildcatpoint SST Audio |
| * |
| * 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 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/module.h> |
| |
| |
| --- a/sound/soc/intel/common/sst-acpi.c |
| +++ b/sound/soc/intel/common/sst-acpi.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel SST loader on ACPI systems |
| * |
| * 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 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/acpi.h> |
| |
| |
| --- a/sound/soc/intel/common/sst-dsp-priv.h |
| +++ b/sound/soc/intel/common/sst-dsp-priv.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel Smart Sound Technology |
| * |
| * 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 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. |
| - * |
| */ |
| |
| #ifndef __SOUND_SOC_SST_DSP_PRIV_H |
| |
| |
| --- a/sound/soc/intel/common/sst-dsp.c |
| +++ b/sound/soc/intel/common/sst-dsp.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Smart Sound Technology (SST) DSP Core Driver |
| * |
| * 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 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/slab.h> |
| |
| |
| --- a/sound/soc/intel/common/sst-dsp.h |
| +++ b/sound/soc/intel/common/sst-dsp.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel Smart Sound Technology (SST) Core |
| * |
| * 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 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. |
| - * |
| */ |
| |
| #ifndef __SOUND_SOC_SST_DSP_H |
| |
| |
| --- a/sound/soc/intel/common/sst-firmware.c |
| +++ b/sound/soc/intel/common/sst-firmware.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel SST Firmware Loader |
| * |
| * 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 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/kernel.h> |
| |
| |
| --- a/sound/soc/intel/common/sst-ipc.c |
| +++ b/sound/soc/intel/common/sst-ipc.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel SST generic IPC Support |
| * |
| * Copyright (C) 2015, 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 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/types.h> |
| |
| |
| --- a/sound/soc/intel/common/sst-ipc.h |
| +++ b/sound/soc/intel/common/sst-ipc.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel SST generic IPC Support |
| * |
| * Copyright (C) 2015, 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 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. |
| - * |
| */ |
| |
| #ifndef __SST_GENERIC_IPC_H |
| |
| |
| --- a/sound/soc/intel/haswell/sst-haswell-dsp.c |
| +++ b/sound/soc/intel/haswell/sst-haswell-dsp.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel Haswell SST DSP driver |
| * |
| * 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 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/delay.h> |
| |
| |
| --- a/sound/soc/intel/haswell/sst-haswell-ipc.c |
| +++ b/sound/soc/intel/haswell/sst-haswell-ipc.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel SST Haswell/Broadwell IPC Support |
| * |
| * 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 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/types.h> |
| |
| |
| --- a/sound/soc/intel/haswell/sst-haswell-ipc.h |
| +++ b/sound/soc/intel/haswell/sst-haswell-ipc.h |
| @@ -1,17 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Intel SST Haswell/Broadwell IPC Support |
| * |
| * 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 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. |
| - * |
| */ |
| |
| #ifndef __SST_HASWELL_IPC_H |
| |
| |
| --- a/sound/soc/intel/haswell/sst-haswell-pcm.c |
| +++ b/sound/soc/intel/haswell/sst-haswell-pcm.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Intel SST Haswell/Broadwell PCM Support |
| * |
| * 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 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/module.h> |
| |
| |
| --- a/sound/soc/samsung/dmaengine.c |
| +++ b/sound/soc/samsung/dmaengine.c |
| @@ -1,18 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * dmaengine.c - Samsung dmaengine wrapper |
| * |
| * Author: Mark Brown <broonie@linaro.org> |
| * Copyright 2013 Linaro |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/sound/soc/samsung/snow.c |
| +++ b/sound/soc/samsung/snow.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * ASoC machine driver for Snow boards |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/sound/soc/stm/stm32_i2s.c |
| +++ b/sound/soc/stm/stm32_i2s.c |
| @@ -1,19 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * STM32 ALSA SoC Digital Audio Interface (I2S) driver. |
| * |
| * Copyright (C) 2017, STMicroelectronics - All Rights Reserved |
| * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. |
| - * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/sound/soc/stm/stm32_sai.c |
| +++ b/sound/soc/stm/stm32_sai.c |
| @@ -1,19 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * STM32 ALSA SoC Digital Audio Interface (SAI) driver. |
| * |
| * Copyright (C) 2016, STMicroelectronics - All Rights Reserved |
| * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. |
| - * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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/bitfield.h> |
| |
| |
| --- a/sound/soc/stm/stm32_sai.h |
| +++ b/sound/soc/stm/stm32_sai.h |
| @@ -1,19 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * STM32 ALSA SoC Digital Audio Interface (SAI) driver. |
| * |
| * Copyright (C) 2016, STMicroelectronics - All Rights Reserved |
| * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. |
| - * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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/bitfield.h> |
| |
| |
| --- a/sound/soc/stm/stm32_sai_sub.c |
| +++ b/sound/soc/stm/stm32_sai_sub.c |
| @@ -1,19 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * STM32 ALSA SoC Digital Audio Interface (SAI) driver. |
| * |
| * Copyright (C) 2016, STMicroelectronics - All Rights Reserved |
| * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. |
| - * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/sound/soc/stm/stm32_spdifrx.c |
| +++ b/sound/soc/stm/stm32_spdifrx.c |
| @@ -1,19 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * STM32 ALSA SoC Digital Audio Interface (SPDIF-rx) driver. |
| * |
| * Copyright (C) 2017, STMicroelectronics - All Rights Reserved |
| * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics. |
| - * |
| - * License terms: GPL V2.0. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/sound/soc/tegra/tegra20_ac97.c |
| +++ b/sound/soc/tegra/tegra20_ac97.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tegra20_ac97.c - Tegra20 AC97 platform driver |
| * |
| @@ -6,16 +7,6 @@ |
| * Partly based on code copyright/by: |
| * |
| * Copyright (c) 2011,2012 Toradex Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/clk.h> |
| |
| |
| --- a/sound/soc/tegra/tegra20_ac97.h |
| +++ b/sound/soc/tegra/tegra20_ac97.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * tegra20_ac97.h - Definitions for the Tegra20 AC97 controller driver |
| * |
| @@ -6,16 +7,6 @@ |
| * Partly based on code copyright/by: |
| * |
| * Copyright (c) 2011,2012 Toradex Inc. |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| #ifndef __TEGRA20_AC97_H__ |
| |
| |
| --- a/sound/soc/tegra/tegra_wm9712.c |
| +++ b/sound/soc/tegra/tegra_wm9712.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tegra20_wm9712.c - Tegra machine ASoC driver for boards using WM9712 codec. |
| * |
| @@ -5,16 +6,6 @@ |
| * |
| * Partly based on code copyright/by: |
| * Copyright 2011,2012 Toradex Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/sound/soc/ti/edma-pcm.c |
| +++ b/sound/soc/ti/edma-pcm.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * edma-pcm.c - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx |
| * |
| @@ -6,15 +7,6 @@ |
| * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
| * |
| * Based on: sound/soc/tegra/tegra_pcm.c |
| - * |
| - * 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. |
| - * |
| - * 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/module.h> |
| |
| |
| --- a/sound/soc/ti/edma-pcm.h |
| +++ b/sound/soc/ti/edma-pcm.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx |
| * |
| @@ -6,15 +7,6 @@ |
| * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
| * |
| * Based on: sound/soc/tegra/tegra_pcm.h |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| #ifndef __EDMA_PCM_H__ |
| |
| |
| --- a/sound/soc/ti/omap-hdmi.c |
| +++ b/sound/soc/ti/omap-hdmi.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * omap-hdmi-audio.c -- OMAP4+ DSS HDMI audio support library |
| * |
| * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com |
| * |
| * Author: Jyri Sarha <jsarha@ti.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kernel.h> |
| |
| |
| --- a/virt/kvm/arm/vgic/vgic-kvm-device.c |
| +++ b/virt/kvm/arm/vgic/vgic-kvm-device.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VGIC: KVM DEVICE API |
| * |
| * Copyright (C) 2015 ARM Ltd. |
| * Author: Marc Zyngier <marc.zyngier@arm.com> |
| - * |
| - * 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. |
| - * |
| - * 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/kvm_host.h> |
| #include <kvm/arm_vgic.h> |
| |
| |
| --- a/virt/kvm/arm/vgic/vgic-mmio-v2.c |
| +++ b/virt/kvm/arm/vgic/vgic-mmio-v2.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VGICv2 MMIO handling functions |
| - * |
| - * 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. |
| - * |
| - * 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/irqchip/arm-gic.h> |
| |
| |
| --- a/virt/kvm/arm/vgic/vgic-mmio-v3.c |
| +++ b/virt/kvm/arm/vgic/vgic-mmio-v3.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VGICv3 MMIO handling functions |
| - * |
| - * 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. |
| - * |
| - * 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/irqchip/arm-gic-v3.h> |
| |
| |
| --- a/virt/kvm/arm/vgic/vgic-mmio.c |
| +++ b/virt/kvm/arm/vgic/vgic-mmio.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * VGIC MMIO handling functions |
| - * |
| - * 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. |
| - * |
| - * 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/bitops.h> |
| |
| |