diff options
Diffstat (limited to 'patches/0167-tty-serial-Remove-redundant-license-text.patch')
-rw-r--r-- | patches/0167-tty-serial-Remove-redundant-license-text.patch | 2348 |
1 files changed, 2348 insertions, 0 deletions
diff --git a/patches/0167-tty-serial-Remove-redundant-license-text.patch b/patches/0167-tty-serial-Remove-redundant-license-text.patch new file mode 100644 index 00000000000000..d548ffd9cb2137 --- /dev/null +++ b/patches/0167-tty-serial-Remove-redundant-license-text.patch @@ -0,0 +1,2348 @@ +From 7ac4fed00d0879a50ab71c1607f830d61113dccd Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Date: Mon, 6 Nov 2017 18:11:52 +0100 +Subject: [PATCH 0167/1795] tty: serial: Remove redundant license text +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Now that the SPDX tag is in all tty files, that identifies the license +in a specific and legally-defined manner. So the extra GPL text wording +can be removed as it is no longer needed at all. + +This is done on a quest to remove the 700+ different ways that files in +the kernel describe the GPL license text. And there's unneeded stuff +like the address (sometimes incorrect) for the FSF which is never +needed. + +No copyright headers or other non-license-description text was removed. + +Cc: Jiri Slaby <jslaby@suse.com> +Cc: Eric Anholt <eric@anholt.net> +Cc: Stefan Wahren <stefan.wahren@i2se.com> +Cc: Florian Fainelli <f.fainelli@gmail.com> +Cc: Ray Jui <rjui@broadcom.com> +Cc: Scott Branden <sbranden@broadcom.com> +Cc: bcm-kernel-feedback-list@broadcom.com +Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> +Cc: Helge Deller <deller@gmx.de> +Cc: Joachim Eastwood <manabian@gmail.com> +Cc: Matthias Brugger <matthias.bgg@gmail.com> +Cc: Masahiro Yamada <yamada.masahiro@socionext.com> +Cc: Tobias Klauser <tklauser@distanz.ch> +Cc: Russell King <linux@armlinux.org.uk> +Cc: Vineet Gupta <vgupta@synopsys.com> +Cc: Richard Genoud <richard.genoud@gmail.com> +Cc: Alexander Shiyan <shc_work@mail.ru> +Cc: Baruch Siach <baruch@tkos.co.il> +Cc: Pat Gefre <pfg@sgi.com> +Cc: "Guilherme G. Piccoli" <gpiccoli@linux.vnet.ibm.com> +Cc: Jason Wessel <jason.wessel@windriver.com> +Cc: Vladimir Zapolskiy <vz@mleia.com> +Cc: Sylvain Lemieux <slemieux.tyco@gmail.com> +Cc: Carlo Caione <carlo@caione.org> +Cc: Kevin Hilman <khilman@baylibre.com> +Cc: Liviu Dudau <liviu.dudau@arm.com> +Cc: Sudeep Holla <sudeep.holla@arm.com> +Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> +Cc: Andy Gross <andy.gross@linaro.org> +Cc: David Brown <david.brown@linaro.org> +Cc: "Andreas Färber" <afaerber@suse.de> +Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> +Cc: Paul Mackerras <paulus@samba.org> +Cc: Michael Ellerman <mpe@ellerman.id.au> +Cc: Kevin Cernekee <cernekee@gmail.com> +Cc: Laxman Dewangan <ldewangan@nvidia.com> +Cc: Thierry Reding <thierry.reding@gmail.com> +Cc: Jonathan Hunter <jonathanh@nvidia.com> +Cc: Barry Song <baohua@kernel.org> +Cc: Patrice Chotard <patrice.chotard@st.com> +Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> +Cc: Alexandre Torgue <alexandre.torgue@st.com> +Cc: Chris Metcalf <cmetcalf@mellanox.com> +Cc: Peter Korsgaard <jacmet@sunsite.dk> +Cc: Timur Tabi <timur@tabi.org> +Cc: Tony Prisk <linux@prisktech.co.nz> +Cc: Michal Simek <michal.simek@xilinx.com> +Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +(cherry picked from commit 4793f2ebff1c890386a514998606205a2948011c) +Signed-off-by: Simon Horman <horms+renesas@verge.net.au> +Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> +--- + drivers/tty/serial/8250/8250.h | 5 ----- + drivers/tty/serial/8250/8250_accent.c | 4 ---- + drivers/tty/serial/8250/8250_acorn.c | 4 ---- + drivers/tty/serial/8250/8250_aspeed_vuart.c | 5 ----- + drivers/tty/serial/8250/8250_bcm2835aux.c | 5 ----- + drivers/tty/serial/8250/8250_boca.c | 4 ---- + drivers/tty/serial/8250/8250_core.c | 5 ----- + drivers/tty/serial/8250/8250_dma.c | 5 ----- + drivers/tty/serial/8250/8250_dw.c | 5 ----- + drivers/tty/serial/8250/8250_early.c | 4 ---- + drivers/tty/serial/8250/8250_em.c | 13 ------------- + drivers/tty/serial/8250/8250_exar.c | 4 ---- + drivers/tty/serial/8250/8250_exar_st16c554.c | 4 ---- + drivers/tty/serial/8250/8250_fintek.c | 5 ----- + drivers/tty/serial/8250/8250_fourport.c | 4 ---- + drivers/tty/serial/8250/8250_fsl.c | 4 ---- + drivers/tty/serial/8250/8250_gsc.c | 5 ----- + drivers/tty/serial/8250/8250_hub6.c | 4 ---- + drivers/tty/serial/8250/8250_ingenic.c | 9 --------- + drivers/tty/serial/8250/8250_lpc18xx.c | 5 ----- + drivers/tty/serial/8250/8250_lpss.c | 4 ---- + drivers/tty/serial/8250/8250_mid.c | 4 ---- + drivers/tty/serial/8250/8250_moxa.c | 4 ---- + drivers/tty/serial/8250/8250_mtk.c | 10 ---------- + drivers/tty/serial/8250/8250_of.c | 6 ------ + drivers/tty/serial/8250/8250_pci.c | 4 ---- + drivers/tty/serial/8250/8250_pnp.c | 4 ---- + drivers/tty/serial/8250/8250_port.c | 5 ----- + drivers/tty/serial/8250/8250_pxa.c | 6 ------ + drivers/tty/serial/8250/8250_uniphier.c | 10 ---------- + drivers/tty/serial/altera_jtaguart.c | 5 ----- + drivers/tty/serial/altera_uart.c | 5 ----- + drivers/tty/serial/amba-pl010.c | 14 -------------- + drivers/tty/serial/amba-pl011.c | 14 -------------- + drivers/tty/serial/ar933x_uart.c | 4 ---- + drivers/tty/serial/arc_uart.c | 4 ---- + drivers/tty/serial/atmel_serial.c | 15 --------------- + drivers/tty/serial/atmel_serial.h | 5 ----- + drivers/tty/serial/bcm63xx_uart.c | 4 ---- + drivers/tty/serial/bfin_sport_uart.c | 2 -- + drivers/tty/serial/bfin_sport_uart.h | 2 -- + drivers/tty/serial/bfin_uart.c | 2 -- + drivers/tty/serial/clps711x.c | 5 ----- + drivers/tty/serial/cpm_uart/cpm_uart.h | 5 ----- + drivers/tty/serial/cpm_uart/cpm_uart_core.c | 15 --------------- + drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c | 15 --------------- + drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c | 15 --------------- + drivers/tty/serial/digicolor-usart.c | 5 ----- + drivers/tty/serial/earlycon-arm-semihost.c | 12 ------------ + drivers/tty/serial/earlycon.c | 4 ---- + drivers/tty/serial/fsl_lpuart.c | 5 ----- + drivers/tty/serial/icom.c | 15 --------------- + drivers/tty/serial/icom.h | 14 -------------- + drivers/tty/serial/ifx6x60.c | 14 -------------- + drivers/tty/serial/ifx6x60.h | 17 ----------------- + drivers/tty/serial/imx.c | 10 ---------- + drivers/tty/serial/ioc3_serial.c | 4 ---- + drivers/tty/serial/ioc4_serial.c | 4 ---- + drivers/tty/serial/jsm/jsm.h | 10 ---------- + drivers/tty/serial/jsm/jsm_cls.c | 10 ---------- + drivers/tty/serial/jsm/jsm_driver.c | 10 ---------- + drivers/tty/serial/jsm/jsm_neo.c | 10 ---------- + drivers/tty/serial/jsm/jsm_tty.c | 10 ---------- + drivers/tty/serial/kgdb_nmi.c | 4 ---- + drivers/tty/serial/kgdboc.c | 4 ---- + drivers/tty/serial/lantiq.c | 13 ------------- + drivers/tty/serial/lpc32xx_hs.c | 10 ---------- + drivers/tty/serial/m32r_sio.c | 5 ----- + drivers/tty/serial/m32r_sio_reg.h | 3 --- + drivers/tty/serial/max3100.c | 6 ------ + drivers/tty/serial/max310x.c | 5 ----- + drivers/tty/serial/mcf.c | 5 ----- + drivers/tty/serial/men_z135_uart.c | 4 ---- + drivers/tty/serial/meson_uart.c | 10 ---------- + drivers/tty/serial/mpc52xx_uart.c | 4 ---- + drivers/tty/serial/mps2-uart.c | 4 ---- + drivers/tty/serial/mpsc.c | 5 +---- + drivers/tty/serial/msm_serial.c | 9 --------- + drivers/tty/serial/mux.c | 5 ----- + drivers/tty/serial/mvebu-uart.c | 12 ------------ + drivers/tty/serial/mxs-auart.c | 4 ---- + drivers/tty/serial/netx-serial.c | 13 ------------- + drivers/tty/serial/omap-serial.c | 5 ----- + drivers/tty/serial/owl-uart.c | 13 ------------- + drivers/tty/serial/pch_uart.c | 13 ------------- + drivers/tty/serial/pic32_uart.c | 2 -- + drivers/tty/serial/pic32_uart.h | 2 -- + drivers/tty/serial/pmac_zilog.c | 14 -------------- + drivers/tty/serial/pnx8xxx_uart.c | 5 ----- + drivers/tty/serial/pxa.c | 5 ----- + drivers/tty/serial/rp2.c | 4 ---- + drivers/tty/serial/sa1100.c | 14 -------------- + drivers/tty/serial/samsung.c | 4 ---- + drivers/tty/serial/samsung.h | 4 ---- + drivers/tty/serial/sb1250-duart.c | 5 ----- + drivers/tty/serial/sc16is7xx.c | 6 ------ + drivers/tty/serial/sccnxp.c | 5 ----- + drivers/tty/serial/serial-tegra.c | 12 ------------ + drivers/tty/serial/serial_core.c | 14 -------------- + drivers/tty/serial/serial_ks8695.c | 6 ------ + drivers/tty/serial/serial_mctrl_gpio.c | 10 ---------- + drivers/tty/serial/serial_mctrl_gpio.h | 11 ----------- + drivers/tty/serial/serial_txx9.c | 4 ---- + drivers/tty/serial/sh-sci.c | 4 ---- + drivers/tty/serial/sirfsoc_uart.c | 2 -- + drivers/tty/serial/sirfsoc_uart.h | 2 -- + drivers/tty/serial/sn_console.c | 19 ------------------- + drivers/tty/serial/sprd_serial.c | 9 --------- + drivers/tty/serial/st-asc.c | 6 ------ + drivers/tty/serial/stm32-usart.c | 1 - + drivers/tty/serial/stm32-usart.h | 1 - + drivers/tty/serial/tilegx.c | 10 ---------- + drivers/tty/serial/timbuart.c | 13 ------------- + drivers/tty/serial/timbuart.h | 13 ------------- + drivers/tty/serial/uartlite.c | 4 ---- + drivers/tty/serial/ucc_uart.c | 5 +---- + drivers/tty/serial/vr41xx_siu.c | 14 -------------- + drivers/tty/serial/vt8500_serial.c | 9 --------- + drivers/tty/serial/xilinx_uartps.c | 6 ------ + 119 files changed, 2 insertions(+), 844 deletions(-) + +diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h +index 36e9ae190fc0..ebfb0bd5bef5 100644 +--- a/drivers/tty/serial/8250/8250.h ++++ b/drivers/tty/serial/8250/8250.h +@@ -5,11 +5,6 @@ + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * + * Copyright (C) 2001 Russell King. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/serial_8250.h> +diff --git a/drivers/tty/serial/8250/8250_accent.c b/drivers/tty/serial/8250/8250_accent.c +index 2c11bc1f49c2..1691f1a57f89 100644 +--- a/drivers/tty/serial/8250/8250_accent.c ++++ b/drivers/tty/serial/8250/8250_accent.c +@@ -2,10 +2,6 @@ + /* + * Copyright (C) 2005 Russell King. + * Data taken from include/asm-i386/serial.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. + */ + #include <linux/module.h> + #include <linux/init.h> +diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c +index 5395343fcf15..758c4aa203ab 100644 +--- a/drivers/tty/serial/8250/8250_acorn.c ++++ b/drivers/tty/serial/8250/8250_acorn.c +@@ -3,10 +3,6 @@ + * linux/drivers/serial/acorn.c + * + * Copyright (C) 1996-2003 Russell King. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License version 2 as +- * published by the Free Software Foundation. + */ + #include <linux/module.h> + #include <linux/types.h> +diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c +index c468bcc4e638..74a408d9db24 100644 +--- a/drivers/tty/serial/8250/8250_aspeed_vuart.c ++++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c +@@ -4,11 +4,6 @@ + * + * Copyright (C) 2016 Jeremy Kerr <jk@ozlabs.org>, IBM Corp. + * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de>, IBM Corp. +- * +- * This program is free software; you can redistribute it and/or +- * modify it under the terms of the GNU General Public License +- * as published by the Free Software Foundation; either version +- * 2 of the License, or (at your option) any later version. + */ + #include <linux/device.h> + #include <linux/module.h> +diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c +index 242ec1883768..bd53661103eb 100644 +--- a/drivers/tty/serial/8250/8250_bcm2835aux.c ++++ b/drivers/tty/serial/8250/8250_bcm2835aux.c +@@ -6,11 +6,6 @@ + * + * Based on 8250_lpc18xx.c: + * Copyright (C) 2015 Joachim Eastwood <manabian@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. +- * + */ + + #include <linux/clk.h> +diff --git a/drivers/tty/serial/8250/8250_boca.c b/drivers/tty/serial/8250/8250_boca.c +index 4123eb887020..a9b97c034653 100644 +--- a/drivers/tty/serial/8250/8250_boca.c ++++ b/drivers/tty/serial/8250/8250_boca.c +@@ -2,10 +2,6 @@ + /* + * Copyright (C) 2005 Russell King. + * Data taken from include/asm-i386/serial.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. + */ + #include <linux/module.h> + #include <linux/init.h> +diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c +index 3975281fd66f..1a58e3ff8201 100644 +--- a/drivers/tty/serial/8250/8250_core.c ++++ b/drivers/tty/serial/8250/8250_core.c +@@ -12,11 +12,6 @@ + * userspace-configurable "phantom" ports + * "serial8250" platform devices + * serial8250_register_8250_port() ports +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/8250/8250_dma.c b/drivers/tty/serial/8250/8250_dma.c +index fe9259330886..bfa1a857f3ff 100644 +--- a/drivers/tty/serial/8250/8250_dma.c ++++ b/drivers/tty/serial/8250/8250_dma.c +@@ -3,11 +3,6 @@ + * 8250_dma.c - DMA Engine API support for 8250.c + * + * Copyright (C) 2013 Intel Corporation +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + #include <linux/tty.h> + #include <linux/tty_flip.h> +diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c +index e4426c3d78aa..8ea6e33f72d2 100644 +--- a/drivers/tty/serial/8250/8250_dw.c ++++ b/drivers/tty/serial/8250/8250_dw.c +@@ -5,11 +5,6 @@ + * Copyright 2011 Picochip, Jamie Iles. + * Copyright 2013 Intel Corporation + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + * The Synopsys DesignWare 8250 has an extra feature whereby it detects if the + * LCR is written whilst busy. If it is, then a busy detect interrupt is + * raised, the LCR needs to be rewritten and the uart status register read. +diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c +index bfa3dcc238ac..ae6a256524d8 100644 +--- a/drivers/tty/serial/8250/8250_early.c ++++ b/drivers/tty/serial/8250/8250_early.c +@@ -5,10 +5,6 @@ + * (c) Copyright 2004 Hewlett-Packard Development Company, L.P. + * Bjorn Helgaas <bjorn.helgaas@hp.com> + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License version 2 as +- * published by the Free Software Foundation. +- * + * Based on the 8250.c serial driver, Copyright (C) 2001 Russell King, + * and on early_printk.c by Andi Kleen. + * +diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c +index 36355b365c51..f6a86f2bc4e5 100644 +--- a/drivers/tty/serial/8250/8250_em.c ++++ b/drivers/tty/serial/8250/8250_em.c +@@ -3,19 +3,6 @@ + * Renesas Emma Mobile 8250 driver + * + * Copyright (C) 2012 Magnus Damm +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #include <linux/device.h> +diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c +index 3268d3e27107..a951511f04cf 100644 +--- a/drivers/tty/serial/8250/8250_exar.c ++++ b/drivers/tty/serial/8250/8250_exar.c +@@ -5,10 +5,6 @@ + * Based on drivers/tty/serial/8250/8250_pci.c, + * + * Copyright (C) 2017 Sudip Mukherjee, 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 as published by +- * the Free Software Foundation; either version 2 of the License. + */ + #include <linux/acpi.h> + #include <linux/dmi.h> +diff --git a/drivers/tty/serial/8250/8250_exar_st16c554.c b/drivers/tty/serial/8250/8250_exar_st16c554.c +index 0b1318b38cdf..933811ebfaac 100644 +--- a/drivers/tty/serial/8250/8250_exar_st16c554.c ++++ b/drivers/tty/serial/8250/8250_exar_st16c554.c +@@ -5,10 +5,6 @@ + * + * Copyright (C) 2005 Russell King. + * Data taken from include/asm-i386/serial.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. + */ + #include <linux/module.h> + #include <linux/init.h> +diff --git a/drivers/tty/serial/8250/8250_fintek.c b/drivers/tty/serial/8250/8250_fintek.c +index 3b2ebff7bef0..3cf93cb1fd20 100644 +--- a/drivers/tty/serial/8250/8250_fintek.c ++++ b/drivers/tty/serial/8250/8250_fintek.c +@@ -3,11 +3,6 @@ + * Probe for F81216A LPC to 4 UART + * + * Copyright (C) 2014-2016 Ricardo Ribalda, Qtechnology A/S +- * +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License. + */ + #include <linux/module.h> + #include <linux/pci.h> +diff --git a/drivers/tty/serial/8250/8250_fourport.c b/drivers/tty/serial/8250/8250_fourport.c +index 1d8e936a18b4..3215b9b7afde 100644 +--- a/drivers/tty/serial/8250/8250_fourport.c ++++ b/drivers/tty/serial/8250/8250_fourport.c +@@ -2,10 +2,6 @@ + /* + * Copyright (C) 2005 Russell King. + * Data taken from include/asm-i386/serial.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. + */ + #include <linux/module.h> + #include <linux/init.h> +diff --git a/drivers/tty/serial/8250/8250_fsl.c b/drivers/tty/serial/8250/8250_fsl.c +index dafe7aa081b3..6640a4c7ddd1 100644 +--- a/drivers/tty/serial/8250/8250_fsl.c ++++ b/drivers/tty/serial/8250/8250_fsl.c +@@ -7,10 +7,6 @@ + /* + * Freescale 16550 UART "driver", Copyright (C) 2011 Paul Gortmaker. + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License version 2 as +- * published by the Free Software Foundation. +- * + * This isn't a full driver; it just provides an alternate IRQ + * handler to deal with an errata. Everything else is just + * using the bog standard 8250 support. +diff --git a/drivers/tty/serial/8250/8250_gsc.c b/drivers/tty/serial/8250/8250_gsc.c +index 8eea662d6987..0809ae2aa9b1 100644 +--- a/drivers/tty/serial/8250/8250_gsc.c ++++ b/drivers/tty/serial/8250/8250_gsc.c +@@ -3,11 +3,6 @@ + * Serial Device Initialisation for Lasi/Asp/Wax/Dino + * + * (c) Copyright Matthew Wilcox <willy@debian.org> 2001-2002 +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/errno.h> +diff --git a/drivers/tty/serial/8250/8250_hub6.c b/drivers/tty/serial/8250/8250_hub6.c +index f75c89ec7ebc..273f59b9bca5 100644 +--- a/drivers/tty/serial/8250/8250_hub6.c ++++ b/drivers/tty/serial/8250/8250_hub6.c +@@ -2,10 +2,6 @@ + /* + * Copyright (C) 2005 Russell King. + * Data taken from include/asm-i386/serial.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. + */ + #include <linux/module.h> + #include <linux/init.h> +diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c +index 5c993a3af653..6af84900870e 100644 +--- a/drivers/tty/serial/8250/8250_ingenic.c ++++ b/drivers/tty/serial/8250/8250_ingenic.c +@@ -4,15 +4,6 @@ + * Copyright (C) 2015 Imagination Technologies + * + * Ingenic SoC UART support +- * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of the GNU General Public License as published by the +- * Free Software Foundation; either version 2 of the License, or (at your +- * option) any later version. +- * +- * You should have received a copy of the GNU General Public License along +- * with this program; if not, write to the Free Software Foundation, Inc., +- * 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + #include <linux/clk.h> +diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c +index e34011535a6a..eddf119374e1 100644 +--- a/drivers/tty/serial/8250/8250_lpc18xx.c ++++ b/drivers/tty/serial/8250/8250_lpc18xx.c +@@ -7,11 +7,6 @@ + * Based on 8250_mtk.c: + * Copyright (c) 2014 MundoReader S.L. + * Matthias Brugger <matthias.bgg@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. +- * + */ + + #include <linux/clk.h> +diff --git a/drivers/tty/serial/8250/8250_lpss.c b/drivers/tty/serial/8250/8250_lpss.c +index f4b596da0a3d..98dbc796353f 100644 +--- a/drivers/tty/serial/8250/8250_lpss.c ++++ b/drivers/tty/serial/8250/8250_lpss.c +@@ -4,10 +4,6 @@ + * + * Copyright (C) 2016 Intel Corporation + * Author: Andy Shevchenko <andriy.shevchenko@linux.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. + */ + + #include <linux/bitops.h> +diff --git a/drivers/tty/serial/8250/8250_mid.c b/drivers/tty/serial/8250/8250_mid.c +index 174a95778935..82d0a13b75cb 100644 +--- a/drivers/tty/serial/8250/8250_mid.c ++++ b/drivers/tty/serial/8250/8250_mid.c +@@ -4,10 +4,6 @@ + * + * Copyright (C) 2015 Intel Corporation + * Author: Heikki Krogerus <heikki.krogerus@linux.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. + */ + + #include <linux/bitops.h> +diff --git a/drivers/tty/serial/8250/8250_moxa.c b/drivers/tty/serial/8250/8250_moxa.c +index da18dd62e608..1ee4cd94d4fa 100644 +--- a/drivers/tty/serial/8250/8250_moxa.c ++++ b/drivers/tty/serial/8250/8250_moxa.c +@@ -3,10 +3,6 @@ + * 8250_moxa.c - MOXA Smartio/Industio MUE multiport serial driver. + * + * Author: Mathieu OTHACEHE <m.othacehe@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. + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c +index 1e3d983ac483..b1a3be655fb0 100644 +--- a/drivers/tty/serial/8250/8250_mtk.c ++++ b/drivers/tty/serial/8250/8250_mtk.c +@@ -4,16 +4,6 @@ + * + * Copyright (c) 2014 MundoReader S.L. + * Author: Matthias Brugger <matthias.bgg@gmail.com> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; 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/io.h> +diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c +index 28118c5630ac..9835b1c1cbe1 100644 +--- a/drivers/tty/serial/8250/8250_of.c ++++ b/drivers/tty/serial/8250/8250_of.c +@@ -3,12 +3,6 @@ + * Serial Port driver for Open Firmware platform devices + * + * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de>, IBM Corp. +- * +- * This program is free software; you can redistribute it and/or +- * modify it under the terms of the GNU General Public License +- * as published by the Free Software Foundation; either version +- * 2 of the License, or (at your option) any later version. +- * + */ + #include <linux/console.h> + #include <linux/module.h> +diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c +index ead29f3c03e0..4346e21e50db 100644 +--- a/drivers/tty/serial/8250/8250_pci.c ++++ b/drivers/tty/serial/8250/8250_pci.c +@@ -5,10 +5,6 @@ + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * + * Copyright (C) 2001 Russell King, 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 as published by +- * the Free Software Foundation; either version 2 of the License. + */ + #undef DEBUG + #include <linux/module.h> +diff --git a/drivers/tty/serial/8250/8250_pnp.c b/drivers/tty/serial/8250/8250_pnp.c +index b556f37b9ba9..431e69a5a6a0 100644 +--- a/drivers/tty/serial/8250/8250_pnp.c ++++ b/drivers/tty/serial/8250/8250_pnp.c +@@ -7,10 +7,6 @@ + * Copyright (C) 2001 Russell King, All Rights Reserved. + * + * Ported to the Linux PnP Layer - (C) Adam Belay. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License. + */ + #include <linux/module.h> + #include <linux/pci.h> +diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c +index a8f760ea1282..2351fe829440 100644 +--- a/drivers/tty/serial/8250/8250_port.c ++++ b/drivers/tty/serial/8250/8250_port.c +@@ -5,11 +5,6 @@ + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * Split from 8250_core.c, Copyright (C) 2001 Russell King. + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + * A note about mapbase / membase + * + * mapbase is the physical address of the IO port. +diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c +index 5ca660c04a9d..b9bcbe20a2be 100644 +--- a/drivers/tty/serial/8250/8250_pxa.c ++++ b/drivers/tty/serial/8250/8250_pxa.c +@@ -8,12 +8,6 @@ + * Copyright: (C) 2003 Monta Vista Software, Inc. + * + * Based on drivers/serial/8250.c by Russell King. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + */ + + #include <linux/device.h> +diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c +index 752fad67c3fe..28d88ccf5a0c 100644 +--- a/drivers/tty/serial/8250/8250_uniphier.c ++++ b/drivers/tty/serial/8250/8250_uniphier.c +@@ -1,16 +1,6 @@ + // SPDX-License-Identifier: GPL-2.0+ + /* + * Copyright (C) 2015 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 as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; 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> +diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c +index ef444aff77c5..c90e503d6b57 100644 +--- a/drivers/tty/serial/altera_jtaguart.c ++++ b/drivers/tty/serial/altera_jtaguart.c +@@ -7,11 +7,6 @@ + * (C) Copyright 2003-2007, Greg Ungerer <gerg@snapgear.com> + * (C) Copyright 2008, Thomas Chou <thomas@wytron.com.tw> + * (C) Copyright 2010, Tobias Klauser <tklauser@distanz.ch> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/kernel.h> +diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c +index 69d9c2fd5f85..594f2af81fbc 100644 +--- a/drivers/tty/serial/altera_uart.c ++++ b/drivers/tty/serial/altera_uart.c +@@ -7,11 +7,6 @@ + * (C) Copyright 2003-2007, Greg Ungerer <gerg@snapgear.com> + * (C) Copyright 2008, Thomas Chou <thomas@wytron.com.tw> + * (C) Copyright 2010, Tobias Klauser <tklauser@distanz.ch> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/kernel.h> +diff --git a/drivers/tty/serial/amba-pl010.c b/drivers/tty/serial/amba-pl010.c +index a64a20c8e28b..2c37d11726ab 100644 +--- a/drivers/tty/serial/amba-pl010.c ++++ b/drivers/tty/serial/amba-pl010.c +@@ -7,20 +7,6 @@ + * Copyright 1999 ARM Limited + * Copyright (C) 2000 Deep Blue Solutions Ltd. + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + * This is a generic driver for ARM AMBA-type serial ports. They + * have a lot of 16550-like features, but are not register compatible. + * Note that although they do have CTS, DCD and DSR inputs, they do +diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c +index 51e7060599f7..13364e170d19 100644 +--- a/drivers/tty/serial/amba-pl011.c ++++ b/drivers/tty/serial/amba-pl011.c +@@ -8,20 +8,6 @@ + * Copyright (C) 2000 Deep Blue Solutions Ltd. + * Copyright (C) 2010 ST-Ericsson SA + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + * This is a generic driver for ARM AMBA-type serial ports. They + * have a lot of 16550-like features, but are not register compatible. + * Note that although they do have CTS, DCD and DSR inputs, they do +diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c +index 15cd1a3ea6bf..db5df3d54818 100644 +--- a/drivers/tty/serial/ar933x_uart.c ++++ b/drivers/tty/serial/ar933x_uart.c +@@ -5,10 +5,6 @@ + * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> + * + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. +- * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of the GNU General Public License version 2 as published +- * by the Free Software Foundation. + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c +index 0a8b80fa09cd..d904a3a345e7 100644 +--- a/drivers/tty/serial/arc_uart.c ++++ b/drivers/tty/serial/arc_uart.c +@@ -4,10 +4,6 @@ + * + * Copyright (C) 2010-2012 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. +- * + * vineetg: July 10th 2012 + * -Decoupled the driver from arch/arc + * +Using platform_get_resource() for irq/membase (thx to bfin_uart.c) +diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c +index 6dbbecde955a..d2755fd81224 100644 +--- a/drivers/tty/serial/atmel_serial.c ++++ b/drivers/tty/serial/atmel_serial.c +@@ -7,21 +7,6 @@ + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * + * DMA support added by Chip Coldwell. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + */ + #include <linux/tty.h> + #include <linux/ioport.h> +diff --git a/drivers/tty/serial/atmel_serial.h b/drivers/tty/serial/atmel_serial.h +index b4e0e57a0a79..ba3a2437cde4 100644 +--- a/drivers/tty/serial/atmel_serial.h ++++ b/drivers/tty/serial/atmel_serial.h +@@ -7,11 +7,6 @@ + * + * USART registers. + * Based on AT91RM9200 datasheet revision E. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #ifndef ATMEL_SERIAL_H +diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c +index 474652d26c71..9d1b7bf7378c 100644 +--- a/drivers/tty/serial/bcm63xx_uart.c ++++ b/drivers/tty/serial/bcm63xx_uart.c +@@ -1,9 +1,5 @@ + // SPDX-License-Identifier: GPL-2.0 + /* +- * This file is subject to the terms and conditions of the GNU General Public +- * License. See the file "COPYING" in the main directory of this archive +- * for more details. +- * + * Derived from many drivers using generic_serial interface. + * + * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> +diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c +index abd0f6cf1bba..704da91b106d 100644 +--- a/drivers/tty/serial/bfin_sport_uart.c ++++ b/drivers/tty/serial/bfin_sport_uart.c +@@ -5,8 +5,6 @@ + * Copyright 2006-2009 Analog Devices Inc. + * + * Enter bugs at http://blackfin.uclinux.org/ +- * +- * Licensed under the GPL-2 or later. + */ + + /* +diff --git a/drivers/tty/serial/bfin_sport_uart.h b/drivers/tty/serial/bfin_sport_uart.h +index 6d9237bb7192..4b12f45d6580 100644 +--- a/drivers/tty/serial/bfin_sport_uart.h ++++ b/drivers/tty/serial/bfin_sport_uart.h +@@ -5,8 +5,6 @@ + * Copyright 2006-2008 Analog Devices Inc. + * + * Enter bugs at http://blackfin.uclinux.org/ +- * +- * Licensed under the GPL-2 or later. + */ + + /* +diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c +index 7fc639c47534..f23290267456 100644 +--- a/drivers/tty/serial/bfin_uart.c ++++ b/drivers/tty/serial/bfin_uart.c +@@ -5,8 +5,6 @@ + * Copyright 2006-2011 Analog Devices Inc. + * + * Enter bugs at http://blackfin.uclinux.org/ +- * +- * Licensed under the GPL-2 or later. + */ + + #if defined(CONFIG_SERIAL_BFIN_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c +index 64d58f2765cc..98f193a83392 100644 +--- a/drivers/tty/serial/clps711x.c ++++ b/drivers/tty/serial/clps711x.c +@@ -6,11 +6,6 @@ + * + * Copyright 1999 ARM Limited + * Copyright (C) 2000 Deep Blue Solutions Ltd. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #if defined(CONFIG_SERIAL_CLPS711X_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/cpm_uart/cpm_uart.h b/drivers/tty/serial/cpm_uart/cpm_uart.h +index 79f1d1128c5a..9f175a92fb5d 100644 +--- a/drivers/tty/serial/cpm_uart/cpm_uart.h ++++ b/drivers/tty/serial/cpm_uart/cpm_uart.h +@@ -6,11 +6,6 @@ + * + * 2006 (c) MontaVista Software, Inc. + * Vitaly Bordug <vbordug@ru.mvista.com> +- * +- * This file is licensed under the terms of the GNU General Public License +- * version 2. This program is licensed "as is" without any warranty of any +- * kind, whether express or implied. +- * + */ + #ifndef CPM_UART_H + #define CPM_UART_H +diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c +index a98d3ab37fac..24a5f05e769b 100644 +--- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c ++++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c +@@ -13,21 +13,6 @@ + * (C) 2004 Intracom, S.A. + * (C) 2005-2006 MontaVista Software, Inc. + * Vitaly Bordug <vbordug@ru.mvista.com> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c +index 31e952fd98d0..4eba17f3d293 100644 +--- a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c ++++ b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c +@@ -9,21 +9,6 @@ + * (C) 2004 Intracom, S.A. + * (C) 2006 MontaVista Software, Inc. + * Vitaly Bordug <vbordug@ru.mvista.com> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c b/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c +index 84f7c8d32ab3..e3bff068dc3c 100644 +--- a/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c ++++ b/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c +@@ -9,21 +9,6 @@ + * (C) 2004 Intracom, S.A. + * (C) 2006 MontaVista Software, Inc. + * Vitaly Bordug <vbordug@ru.mvista.com> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c +index c38a16381ff3..f460cca139e2 100644 +--- a/drivers/tty/serial/digicolor-usart.c ++++ b/drivers/tty/serial/digicolor-usart.c +@@ -5,11 +5,6 @@ + * Author: Baruch Siach <baruch@tkos.co.il> + * + * Copyright (C) 2014 Paradox Innovation Ltd. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/earlycon-arm-semihost.c b/drivers/tty/serial/earlycon-arm-semihost.c +index 84780c17a889..fa096c10b591 100644 +--- a/drivers/tty/serial/earlycon-arm-semihost.c ++++ b/drivers/tty/serial/earlycon-arm-semihost.c +@@ -6,18 +6,6 @@ + * Adapted for ARM and earlycon: + * Copyright (C) 2014 Linaro Ltd. + * Author: Rob Herring <robh@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. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <linux/kernel.h> + #include <linux/console.h> +diff --git a/drivers/tty/serial/earlycon.c b/drivers/tty/serial/earlycon.c +index 57144c78518f..e20540dab7fb 100644 +--- a/drivers/tty/serial/earlycon.c ++++ b/drivers/tty/serial/earlycon.c +@@ -6,10 +6,6 @@ + * Based on 8250 earlycon: + * (c) Copyright 2004 Hewlett-Packard Development Company, L.P. + * Bjorn Helgaas <bjorn.helgaas@hp.com> +- * +- * This program is free software: you can redistribute it and/or modify +- * it under the terms of the GNU General Public License version 2 as +- * published by the Free Software Foundation. + */ + + #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c +index d0c072d5c709..63dc1d7669f9 100644 +--- a/drivers/tty/serial/fsl_lpuart.c ++++ b/drivers/tty/serial/fsl_lpuart.c +@@ -3,11 +3,6 @@ + * Freescale lpuart serial port driver + * + * Copyright 2012-2014 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 as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #if defined(CONFIG_SERIAL_FSL_LPUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c +index a8fd690fbf29..ad374f7c476d 100644 +--- a/drivers/tty/serial/icom.c ++++ b/drivers/tty/serial/icom.c +@@ -7,21 +7,6 @@ + * Serial device driver. + * + * Based on code from serial.c +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + */ + #include <linux/module.h> + #include <linux/kernel.h> +diff --git a/drivers/tty/serial/icom.h b/drivers/tty/serial/icom.h +index da6a38967d2f..8a77e739b333 100644 +--- a/drivers/tty/serial/icom.h ++++ b/drivers/tty/serial/icom.h +@@ -5,20 +5,6 @@ + * Copyright (C) 2001 Michael Anderson, IBM Corporation + * + * Serial device driver include file. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #include <linux/serial_core.h> +diff --git a/drivers/tty/serial/ifx6x60.c b/drivers/tty/serial/ifx6x60.c +index fe670f9fcbd9..f0d096b94c3f 100644 +--- a/drivers/tty/serial/ifx6x60.c ++++ b/drivers/tty/serial/ifx6x60.c +@@ -11,20 +11,6 @@ + * Copyright (C) 2009, 2010 Intel Corp + * Russ Gorby <russ.gorby@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. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +- * USA +- * + * Driver modified by Intel from Option gtm501l_spi.c + * + * Notes +diff --git a/drivers/tty/serial/ifx6x60.h b/drivers/tty/serial/ifx6x60.h +index a5346e7672c0..c5a2514212ff 100644 +--- a/drivers/tty/serial/ifx6x60.h ++++ b/drivers/tty/serial/ifx6x60.h +@@ -6,23 +6,6 @@ + * Copyright (C) 2009, 2010 Intel Corp + * Jim Stanley <jim.stanley@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. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +- * USA +- * +- * +- * + *****************************************************************************/ + #ifndef _IFX6X60_H + #define _IFX6X60_H +diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c +index 13085ac31f05..ef39a7bb48b1 100644 +--- a/drivers/tty/serial/imx.c ++++ b/drivers/tty/serial/imx.c +@@ -6,16 +6,6 @@ + * + * Author: Sascha Hauer <sascha@saschahauer.de> + * Copyright (C) 2004 Pengutronix +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT 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(CONFIG_SERIAL_IMX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/ioc3_serial.c b/drivers/tty/serial/ioc3_serial.c +index fcc4bc85dab4..d8a1cdd6a53d 100644 +--- a/drivers/tty/serial/ioc3_serial.c ++++ b/drivers/tty/serial/ioc3_serial.c +@@ -1,9 +1,5 @@ + // SPDX-License-Identifier: GPL-2.0 + /* +- * This file is subject to the terms and conditions of the GNU General Public +- * License. See the file "COPYING" in the main directory of this archive +- * for more details. +- * + * Copyright (C) 2005 Silicon Graphics, Inc. All Rights Reserved. + */ + +diff --git a/drivers/tty/serial/ioc4_serial.c b/drivers/tty/serial/ioc4_serial.c +index 8804faad5294..db5b979e5a0c 100644 +--- a/drivers/tty/serial/ioc4_serial.c ++++ b/drivers/tty/serial/ioc4_serial.c +@@ -1,9 +1,5 @@ + // SPDX-License-Identifier: GPL-2.0 + /* +- * This file is subject to the terms and conditions of the GNU General Public +- * License. See the file "COPYING" in the main directory of this archive +- * for more details. +- * + * Copyright (C) 2003-2006 Silicon Graphics, Inc. All Rights Reserved. + */ + +diff --git a/drivers/tty/serial/jsm/jsm.h b/drivers/tty/serial/jsm/jsm.h +index 588080b05b07..7a128aaa3a66 100644 +--- a/drivers/tty/serial/jsm/jsm.h ++++ b/drivers/tty/serial/jsm/jsm.h +@@ -4,16 +4,6 @@ + * + * Copyright (C) 2004 IBM 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 as published by +- * the Free Software Foundation; either version 2, or (at your option) +- * any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the +- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +- * PURPOSE. See the GNU General Public License for more details. +- * + * Contact Information: + * Scott H Kilau <Scott_Kilau@digi.com> + * Wendy Xiong <wendyx@us.ibm.com> +diff --git a/drivers/tty/serial/jsm/jsm_cls.c b/drivers/tty/serial/jsm/jsm_cls.c +index 74793234e002..c061a7b7bd23 100644 +--- a/drivers/tty/serial/jsm/jsm_cls.c ++++ b/drivers/tty/serial/jsm/jsm_cls.c +@@ -3,16 +3,6 @@ + * Copyright 2003 Digi International (www.digi.com) + * Scott H Kilau <Scott_Kilau at digi dot com> + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2, or (at your option) +- * any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the +- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +- * PURPOSE. See the GNU General Public License for more details. +- * + * NOTE TO LINUX KERNEL HACKERS: DO NOT REFORMAT THIS CODE! + * + * This is shared code between Digi's CVS archive and the +diff --git a/drivers/tty/serial/jsm/jsm_driver.c b/drivers/tty/serial/jsm/jsm_driver.c +index 0ede8673f5be..592e51d8944e 100644 +--- a/drivers/tty/serial/jsm/jsm_driver.c ++++ b/drivers/tty/serial/jsm/jsm_driver.c +@@ -4,16 +4,6 @@ + * + * Copyright (C) 2004 IBM 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 as published by +- * the Free Software Foundation; either version 2, or (at your option) +- * any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the +- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +- * PURPOSE. See the GNU General Public License for more details. +- * + * Contact Information: + * Scott H Kilau <Scott_Kilau@digi.com> + * Wendy Xiong <wendyx@us.ibm.com> +diff --git a/drivers/tty/serial/jsm/jsm_neo.c b/drivers/tty/serial/jsm/jsm_neo.c +index b28a0a478d64..4718560b8fdc 100644 +--- a/drivers/tty/serial/jsm/jsm_neo.c ++++ b/drivers/tty/serial/jsm/jsm_neo.c +@@ -4,16 +4,6 @@ + * + * Copyright (C) 2004 IBM 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 as published by +- * the Free Software Foundation; either version 2, or (at your option) +- * any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the +- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +- * PURPOSE. See the GNU General Public License for more details. +- * + * Contact Information: + * Scott H Kilau <Scott_Kilau@digi.com> + * Wendy Xiong <wendyx@us.ibm.com> +diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c +index 7753d5b364b5..84658ada4ad4 100644 +--- a/drivers/tty/serial/jsm/jsm_tty.c ++++ b/drivers/tty/serial/jsm/jsm_tty.c +@@ -4,16 +4,6 @@ + * + * Copyright (C) 2004 IBM 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 as published by +- * the Free Software Foundation; either version 2, or (at your option) +- * any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the +- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +- * PURPOSE. See the GNU General Public License for more details. +- * + * Contact Information: + * Scott H Kilau <Scott_Kilau@digi.com> + * Ananda Venkatarman <mansarov@us.ibm.com> +diff --git a/drivers/tty/serial/kgdb_nmi.c b/drivers/tty/serial/kgdb_nmi.c +index b908d4a24de5..ed2b03058627 100644 +--- a/drivers/tty/serial/kgdb_nmi.c ++++ b/drivers/tty/serial/kgdb_nmi.c +@@ -7,10 +7,6 @@ + * Colin Cross <ccross@android.com> + * Copyright 2012 Linaro Ltd. + * Anton Vorontsov <anton.vorontsov@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. + */ + + #include <linux/kernel.h> +diff --git a/drivers/tty/serial/kgdboc.c b/drivers/tty/serial/kgdboc.c +index 62d162ae7610..ddb46fa2d07f 100644 +--- a/drivers/tty/serial/kgdboc.c ++++ b/drivers/tty/serial/kgdboc.c +@@ -7,10 +7,6 @@ + * Maintainer: Jason Wessel <jason.wessel@windriver.com> + * + * 2007-2008 (c) Jason Wessel - Wind River Systems, Inc. +- * +- * This file is licensed under the terms of the GNU General Public +- * License version 2. This program is licensed "as is" without any +- * warranty of any kind, whether express or implied. + */ + #include <linux/kernel.h> + #include <linux/ctype.h> +diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c +index 868abff3db32..044128277248 100644 +--- a/drivers/tty/serial/lantiq.c ++++ b/drivers/tty/serial/lantiq.c +@@ -2,19 +2,6 @@ + /* + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of the GNU General Public License version 2 as published +- * by the Free Software Foundation. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + * Copyright (C) 2004 Infineon IFAP DC COM CPE + * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org> + * Copyright (C) 2007 John Crispin <john@phrozen.org> +diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c +index 8b58256ec776..d1d73261575b 100644 +--- a/drivers/tty/serial/lpc32xx_hs.c ++++ b/drivers/tty/serial/lpc32xx_hs.c +@@ -7,16 +7,6 @@ + * + * Copyright (C) 2010 NXP Semiconductors + * Copyright (C) 2012 Roland Stigge +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; 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> +diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial/m32r_sio.c +index 1e44f2e6c5f7..44ae777ff035 100644 +--- a/drivers/tty/serial/m32r_sio.c ++++ b/drivers/tty/serial/m32r_sio.c +@@ -9,11 +9,6 @@ + * + * Copyright (C) 2001 Russell King. + * Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + /* +diff --git a/drivers/tty/serial/m32r_sio_reg.h b/drivers/tty/serial/m32r_sio_reg.h +index 0fd9727edec3..6eed48828f94 100644 +--- a/drivers/tty/serial/m32r_sio_reg.h ++++ b/drivers/tty/serial/m32r_sio_reg.h +@@ -5,9 +5,6 @@ + * Copyright (C) 1992, 1994 by Theodore Ts'o. + * Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org> + * +- * Redistribution of this file is permitted under the terms of the GNU +- * Public License (GPL) +- * + * These are the UART port assignments, expressed as offsets from the base + * register. These assignments should hold for any serial port based on + * a 8250, 16450, or 16550(A). +diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c +index d5e4a5336095..16d34fab895f 100644 +--- a/drivers/tty/serial/max3100.c ++++ b/drivers/tty/serial/max3100.c +@@ -3,12 +3,6 @@ + * + * Copyright (C) 2008 Christian Pellegrin <chripell@evolware.org> + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * + * Notes: the MAX3100 doesn't provide an interrupt on CTS so we have + * to use polling for flow control. TX empty IRQ is unusable, since + * writing conf clears FIFO buffer and we cannot have this interrupt +diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c +index bd626ec325d5..ecb6513a6505 100644 +--- a/drivers/tty/serial/max310x.c ++++ b/drivers/tty/serial/max310x.c +@@ -7,11 +7,6 @@ + * Based on max3100.c, by Christian Pellegrin <chripell@evolware.org> + * Based on max3110.c, by Feng Tang <feng.tang@intel.com> + * Based on max3107.c, by Aavamobile +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #include <linux/bitops.h> +diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c +index 9c779768bd16..7dbfb4cde124 100644 +--- a/drivers/tty/serial/mcf.c ++++ b/drivers/tty/serial/mcf.c +@@ -5,11 +5,6 @@ + * mcf.c -- Freescale ColdFire UART driver + * + * (C) Copyright 2003-2007, Greg Ungerer <gerg@uclinux.org> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + /****************************************************************************/ +diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c +index 9387b2c745a0..ef89534dd760 100644 +--- a/drivers/tty/serial/men_z135_uart.c ++++ b/drivers/tty/serial/men_z135_uart.c +@@ -4,10 +4,6 @@ + * + * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) + * Author: Johannes Thumshirn <johannes.thumshirn@men.de> +- * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of the GNU General Public License as published by the Free +- * Software Foundation; version 2 of the License. + */ + #define pr_fmt(fmt) KBUILD_MODNAME ":" fmt + +diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c +index d4875ea65a53..ef714f779712 100644 +--- a/drivers/tty/serial/meson_uart.c ++++ b/drivers/tty/serial/meson_uart.c +@@ -3,16 +3,6 @@ + * Based on meson_uart.c, by AMLOGIC, INC. + * + * Copyright (C) 2014 Carlo Caione <carlo@caione.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> +diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c +index 1c1febdf60ce..3a75ee08d619 100644 +--- a/drivers/tty/serial/mpc52xx_uart.c ++++ b/drivers/tty/serial/mpc52xx_uart.c +@@ -24,10 +24,6 @@ + * Grant Likely <grant.likely@secretlab.ca> + * Copyright (C) 2004-2006 Sylvain Munaut <tnt@246tNt.com> + * Copyright (C) 2003 MontaVista, Software, Inc. +- * +- * This file is licensed under the terms of the GNU General Public License +- * version 2. This program is licensed "as is" without any warranty of any +- * kind, whether express or implied. + */ + + #undef DEBUG +diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c +index 5d789b584bc5..9f8f63719126 100644 +--- a/drivers/tty/serial/mps2-uart.c ++++ b/drivers/tty/serial/mps2-uart.c +@@ -6,10 +6,6 @@ + * + * Author: Vladimir Murzin <vladimir.murzin@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. +- * + * TODO: support for SysRq + */ + +diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c +index 21b28d8e3c02..1f60d6fe4ff2 100644 +--- a/drivers/tty/serial/mpsc.c ++++ b/drivers/tty/serial/mpsc.c +@@ -11,10 +11,7 @@ + * taken from PPCBoot (now U-Boot). Also based on drivers/serial/8250.c + * by Russell King. + * +- * 2004 (c) MontaVista, Software, Inc. This file is licensed under +- * the terms of the GNU General Public License version 2. This program +- * is licensed "as is" without any warranty of any kind, whether express +- * or implied. ++ * 2004 (c) MontaVista, Software, Inc. + */ + /* + * The MPSC interface is much like a typical network controller's interface. +diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c +index 76649fea8f6f..ee96cf0d0057 100644 +--- a/drivers/tty/serial/msm_serial.c ++++ b/drivers/tty/serial/msm_serial.c +@@ -5,15 +5,6 @@ + * Copyright (C) 2007 Google, Inc. + * Author: Robert Love <rlove@google.com> + * Copyright (c) 2011, Code Aurora Forum. All rights reserved. +- * +- * This software is licensed under the terms of the GNU General Public +- * License version 2, as published by the Free Software Foundation, and +- * may be copied, distributed, and modified under those terms. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT 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(CONFIG_SERIAL_MSM_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/mux.c b/drivers/tty/serial/mux.c +index 44f503ea54d2..c164843bc32a 100644 +--- a/drivers/tty/serial/mux.c ++++ b/drivers/tty/serial/mux.c +@@ -6,11 +6,6 @@ + ** (c) Copyright 2002 Ryan Bradetich + ** (c) Copyright 2002 Hewlett-Packard Company + ** +-** This program is free software; you can redistribute it and/or modify +-** it under the terms of the GNU General Public License as published by +-** the Free Software Foundation; either version 2 of the License, or +-** (at your option) any later version. +-** + ** This Driver currently only supports the console (port 0) on the MUX. + ** Additional work will be needed on this driver to enable the full + ** functionality of the MUX. +diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c +index 09e7da6eab97..b1aff6346166 100644 +--- a/drivers/tty/serial/mvebu-uart.c ++++ b/drivers/tty/serial/mvebu-uart.c +@@ -5,18 +5,6 @@ + * Author: Wilson Ding <dingwei@marvell.com> + * Copyright (C) 2015 Marvell International Ltd. + * *************************************************************************** +-* This program is free software: you can redistribute it and/or modify it +-* under the terms of the GNU General Public License as published by the Free +-* Software Foundation, either version 2 of the License, or any later version. +-* +-* This program is distributed in the hope that it will be useful, +-* but WITHOUT ANY WARRANTY; without even the implied warranty of +-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-* GNU General Public License for more details. +-* +-* You should have received a copy of the GNU General Public License +-* along with this program. If not, see <http://www.gnu.org/licenses/>. +-* *************************************************************************** + */ + + #include <linux/clk.h> +diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c +index 588e08274233..4fefec8700b9 100644 +--- a/drivers/tty/serial/mxs-auart.c ++++ b/drivers/tty/serial/mxs-auart.c +@@ -10,10 +10,6 @@ + * Provide Alphascale ASM9260 support. + * Copyright 2008-2010 Freescale Semiconductor, Inc. + * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved. +- * +- * The code contained herein is licensed under the GNU General Public +- * License. You may obtain a copy of the GNU General Public License +- * Version 2 or later at the following locations: + */ + + #if defined(CONFIG_SERIAL_MXS_AUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/netx-serial.c b/drivers/tty/serial/netx-serial.c +index 4201938e8aa3..b3556863491f 100644 +--- a/drivers/tty/serial/netx-serial.c ++++ b/drivers/tty/serial/netx-serial.c +@@ -1,19 +1,6 @@ + // SPDX-License-Identifier: GPL-2.0 + /* + * Copyright (c) 2005 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License version 2 +- * as published by the Free Software Foundation. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #if defined(CONFIG_SERIAL_NETX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c +index f25544e8228d..366567ca2abb 100644 +--- a/drivers/tty/serial/omap-serial.c ++++ b/drivers/tty/serial/omap-serial.c +@@ -9,11 +9,6 @@ + * Govindraj R <govindraj.raja@ti.com> + * Thara Gopinath <thara@ti.com> + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + * Note: This driver is made separate from 8250 driver as we cannot + * over load 8250 driver with omap platform specific configuration for + * features like DMA, it makes easier to implement features like DMA and +diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c +index 93fa3095a775..29a6dc6a8d23 100644 +--- a/drivers/tty/serial/owl-uart.c ++++ b/drivers/tty/serial/owl-uart.c +@@ -6,19 +6,6 @@ + * Author: Actions Semi, Inc. + * + * Copyright (c) 2016-2017 Andreas Färber +- * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of the GNU General Public License as published by the +- * Free Software Foundation; either version 2 of the License, or (at your +- * option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + #include <linux/clk.h> +diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c +index e2c04a3334da..760d5dd0aada 100644 +--- a/drivers/tty/serial/pch_uart.c ++++ b/drivers/tty/serial/pch_uart.c +@@ -1,19 +1,6 @@ + // SPDX-License-Identifier: GPL-2.0 + /* + *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 as published by +- *the Free Software Foundation; version 2 of the License. +- * +- *This program is distributed in the hope that it will be useful, +- *but WITHOUT ANY WARRANTY; without even the implied warranty of +- *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- *GNU General Public License for more details. +- * +- *You should have received a copy of the GNU General Public License +- *along with this program; if not, write to the Free Software +- *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + */ + #if defined(CONFIG_SERIAL_PCH_UART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) + #define SUPPORT_SYSRQ +diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c +index 9f55c30d1aa6..fd80d999308d 100644 +--- a/drivers/tty/serial/pic32_uart.c ++++ b/drivers/tty/serial/pic32_uart.c +@@ -6,8 +6,6 @@ + * + * Authors: + * Sorin-Andrei Pistirica <andrei.pistirica@microchip.com> +- * +- * Licensed under GPLv2 or later. + */ + + #include <linux/kernel.h> +diff --git a/drivers/tty/serial/pic32_uart.h b/drivers/tty/serial/pic32_uart.h +index 43dc168dffd7..2f2b56927dc6 100644 +--- a/drivers/tty/serial/pic32_uart.h ++++ b/drivers/tty/serial/pic32_uart.h +@@ -6,8 +6,6 @@ + * + * Authors: + * Sorin-Andrei Pistirica <andrei.pistirica@microchip.com> +- * +- * Licensed under GPLv2 or later. + */ + #ifndef __DT_PIC32_UART_H__ + #define __DT_PIC32_UART_H__ +diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c +index 3afba70022b4..3d21790d961e 100644 +--- a/drivers/tty/serial/pmac_zilog.c ++++ b/drivers/tty/serial/pmac_zilog.c +@@ -14,20 +14,6 @@ + * and once done, I expect that driver to remain fairly stable in + * the long term, unless we change the driver model again... + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +- * + * 2004-08-06 Harald Welte <laforge@gnumonks.org> + * - Enable BREAK interrupt + * - Add support for sysreq +diff --git a/drivers/tty/serial/pnx8xxx_uart.c b/drivers/tty/serial/pnx8xxx_uart.c +index a61fb04cca24..8073de35e56c 100644 +--- a/drivers/tty/serial/pnx8xxx_uart.c ++++ b/drivers/tty/serial/pnx8xxx_uart.c +@@ -8,11 +8,6 @@ + * + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * Copyright (C) 2000 Deep Blue Solutions Ltd. +- * +- * This file is licensed under the terms of the GNU General Public License +- * version 2. This program is licensed "as is" without any warranty of +- * any kind, whether express or implied. +- * + */ + + #if defined(CONFIG_SERIAL_PNX8XXX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c +index dd82ecb7c25d..baf552944d56 100644 +--- a/drivers/tty/serial/pxa.c ++++ b/drivers/tty/serial/pxa.c +@@ -6,11 +6,6 @@ + * Created: Feb 20, 2003 + * Copyright: (C) 2003 Monta Vista Software, Inc. + * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + * Note 1: This driver is made separate from the already too overloaded + * 8250.c because it needs some kirks of its own and that'll make it + * easier to add DMA support. +diff --git a/drivers/tty/serial/rp2.c b/drivers/tty/serial/rp2.c +index 2108bf34ff90..520b43b23543 100644 +--- a/drivers/tty/serial/rp2.c ++++ b/drivers/tty/serial/rp2.c +@@ -11,10 +11,6 @@ + * + * rocketport_infinity_express-linux-1.20.tar.gz + * Copyright (C) 2004-2011 Comtrol, 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. + */ + + #include <linux/bitops.h> +diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c +index 125558fa2ce9..82ad3e31e73a 100644 +--- a/drivers/tty/serial/sa1100.c ++++ b/drivers/tty/serial/sa1100.c +@@ -5,20 +5,6 @@ + * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. + * + * Copyright (C) 2000 Deep Blue Solutions Ltd. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #if defined(CONFIG_SERIAL_SA1100_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c +index 9a30b12ac352..64e96926f1ad 100644 +--- a/drivers/tty/serial/samsung.c ++++ b/drivers/tty/serial/samsung.c +@@ -4,10 +4,6 @@ + * + * Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics + * http://armlinux.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. + */ + + /* Hote on 2410 error handling +diff --git a/drivers/tty/serial/samsung.h b/drivers/tty/serial/samsung.h +index b0461c096d0a..f93022113f59 100644 +--- a/drivers/tty/serial/samsung.h ++++ b/drivers/tty/serial/samsung.h +@@ -7,10 +7,6 @@ + * + * Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics + * http://armlinux.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. + */ + + #include <linux/dmaengine.h> +diff --git a/drivers/tty/serial/sb1250-duart.c b/drivers/tty/serial/sb1250-duart.c +index f3d5b4ebb9d5..329aced26bd8 100644 +--- a/drivers/tty/serial/sb1250-duart.c ++++ b/drivers/tty/serial/sb1250-duart.c +@@ -10,11 +10,6 @@ + * + * Copyright (c) 2000, 2001, 2002, 2003, 2004 Broadcom Corporation + * +- * This program is free software; you can redistribute it and/or +- * modify it under the terms of the GNU General Public License +- * as published by the Free Software Foundation; either version +- * 2 of the License, or (at your option) any later version. +- * + * References: + * + * "BCM1250/BCM1125/BCM1125H User Manual", Broadcom Corporation +diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c +index f1e216e714ee..65792a3539d0 100644 +--- a/drivers/tty/serial/sc16is7xx.c ++++ b/drivers/tty/serial/sc16is7xx.c +@@ -4,12 +4,6 @@ + * Author: Jon Ringle <jringle@gridpoint.com> + * + * Based on max310x.c, by Alexander Shiyan <shc_work@mail.ru> +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + */ + + #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c +index 8c580d7dd2fe..149e1b53948f 100644 +--- a/drivers/tty/serial/sccnxp.c ++++ b/drivers/tty/serial/sccnxp.c +@@ -5,11 +5,6 @@ + * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru> + * + * Based on sc26xx.c, by Thomas Bogendörfer (tsbogend@alpha.franken.de) +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. + */ + + #if defined(CONFIG_SERIAL_SCCNXP_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c +index fae65e76a9f3..af2a29cfbbe9 100644 +--- a/drivers/tty/serial/serial-tegra.c ++++ b/drivers/tty/serial/serial-tegra.c +@@ -7,18 +7,6 @@ + * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. + * + * Author: Laxman Dewangan <ldewangan@nvidia.com> +- * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms and conditions of the GNU General Public License, +- * version 2, as published by the Free Software Foundation. +- * +- * This program is distributed in the hope it will be useful, but WITHOUT +- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +- * more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + #include <linux/clk.h> +diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c +index 1cd0cb292ff9..e93df3b6092d 100644 +--- a/drivers/tty/serial/serial_core.c ++++ b/drivers/tty/serial/serial_core.c +@@ -6,20 +6,6 @@ + * + * Copyright 1999 ARM Limited + * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <linux/module.h> + #include <linux/tty.h> +diff --git a/drivers/tty/serial/serial_ks8695.c b/drivers/tty/serial/serial_ks8695.c +index 9a894e899876..b461d791188c 100644 +--- a/drivers/tty/serial/serial_ks8695.c ++++ b/drivers/tty/serial/serial_ks8695.c +@@ -5,12 +5,6 @@ + * Based on drivers/serial/serial_amba.c, by Kam Lee. + * + * Copyright 2002-2005 Micrel Inc. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + */ + #include <linux/module.h> + #include <linux/tty.h> +diff --git a/drivers/tty/serial/serial_mctrl_gpio.c b/drivers/tty/serial/serial_mctrl_gpio.c +index 302dda18fcbd..1c06325beaca 100644 +--- a/drivers/tty/serial/serial_mctrl_gpio.c ++++ b/drivers/tty/serial/serial_mctrl_gpio.c +@@ -3,16 +3,6 @@ + * Helpers for controlling modem lines via GPIO + * + * Copyright (C) 2014 Paratronic S.A. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; 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> +diff --git a/drivers/tty/serial/serial_mctrl_gpio.h b/drivers/tty/serial/serial_mctrl_gpio.h +index 219eba0223bb..b7d3cca48ede 100644 +--- a/drivers/tty/serial/serial_mctrl_gpio.h ++++ b/drivers/tty/serial/serial_mctrl_gpio.h +@@ -3,17 +3,6 @@ + * Helpers for controlling modem lines via GPIO + * + * Copyright (C) 2014 Paratronic S.A. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT 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 __SERIAL_MCTRL_GPIO__ +diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c +index 256c61d1c6a6..1b4008d022bf 100644 +--- a/drivers/tty/serial/serial_txx9.c ++++ b/drivers/tty/serial/serial_txx9.c +@@ -9,10 +9,6 @@ + * Copyright (C) 2001 Steven J. Hill (sjhill@realitydiluted.com) + * Copyright (C) 2000-2002 Toshiba 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. +- * + * Serial driver for TX3927/TX4927/TX4925/TX4938 internal SIO controller + */ + +diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c +index eae806bd3555..5d33bc1a0e09 100644 +--- a/drivers/tty/serial/sh-sci.c ++++ b/drivers/tty/serial/sh-sci.c +@@ -14,10 +14,6 @@ + * Modified to support SecureEdge. David McCullough (2002) + * Modified to support SH7300 SCIF. Takashi Kusuda (Jun 2003). + * Removed SH7300 support (Jul 2007). +- * +- * This file is subject to the terms and conditions of the GNU General Public +- * License. See the file "COPYING" in the main directory of this archive +- * for more details. + */ + #if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) + #define SUPPORT_SYSRQ +diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c +index 3e3ea07c54c0..9925b00a9777 100644 +--- a/drivers/tty/serial/sirfsoc_uart.c ++++ b/drivers/tty/serial/sirfsoc_uart.c +@@ -3,8 +3,6 @@ + * Driver for CSR SiRFprimaII onboard UARTs. + * + * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company. +- * +- * Licensed under GPLv2 or later. + */ + + #include <linux/module.h> +diff --git a/drivers/tty/serial/sirfsoc_uart.h b/drivers/tty/serial/sirfsoc_uart.h +index 6d6251526631..004ca684d3ae 100644 +--- a/drivers/tty/serial/sirfsoc_uart.h ++++ b/drivers/tty/serial/sirfsoc_uart.h +@@ -3,8 +3,6 @@ + * Drivers for CSR SiRFprimaII onboard UARTs. + * + * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company. +- * +- * Licensed under GPLv2 or later. + */ + #include <linux/bitops.h> + #include <linux/log2.h> +diff --git a/drivers/tty/serial/sn_console.c b/drivers/tty/serial/sn_console.c +index 9e0e6586c698..23c9d1fa5e33 100644 +--- a/drivers/tty/serial/sn_console.c ++++ b/drivers/tty/serial/sn_console.c +@@ -8,25 +8,6 @@ + * + * Copyright (c) 2004-2006 Silicon Graphics, Inc. All Rights Reserved. + * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of version 2 of the GNU General Public License +- * as published by the Free Software Foundation. +- * +- * This program is distributed in the hope that it would be useful, but +- * WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +- * +- * Further, this software is distributed without any warranty that it is +- * free of the rightful claim of any third person regarding infringement +- * or the like. Any license provided herein, whether implied or +- * otherwise, applies only to this software file. Patent licenses, if +- * any, provided herein do not apply to combinations of this program with +- * other software, or any other product whatsoever. +- * +- * You should have received a copy of the GNU General Public +- * License along with this program; if not, write the Free Software +- * Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. +- * + * Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, + * Mountain View, CA 94043, or: + * +diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c +index a06d50f52ea8..828f1143859c 100644 +--- a/drivers/tty/serial/sprd_serial.c ++++ b/drivers/tty/serial/sprd_serial.c +@@ -1,15 +1,6 @@ + // SPDX-License-Identifier: GPL-2.0 + /* + * Copyright (C) 2012-2015 Spreadtrum Communications Inc. +- * +- * This software is licensed under the terms of the GNU General Public +- * License version 2, as published by the Free Software Foundation, and +- * may be copied, distributed, and modified under those terms. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT 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(CONFIG_SERIAL_SPRD_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c +index 1f51eef68c85..c763253514e9 100644 +--- a/drivers/tty/serial/st-asc.c ++++ b/drivers/tty/serial/st-asc.c +@@ -3,12 +3,6 @@ + * st-asc.c: ST Asynchronous serial controller (ASC) driver + * + * Copyright (C) 2003-2013 STMicroelectronics (R&D) Limited +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * + */ + + #if defined(CONFIG_SERIAL_ST_ASC_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c +index 007ad0274ed0..f9f3da329daa 100644 +--- a/drivers/tty/serial/stm32-usart.c ++++ b/drivers/tty/serial/stm32-usart.c +@@ -4,7 +4,6 @@ + * Copyright (C) STMicroelectronics SA 2017 + * Authors: Maxime Coquelin <mcoquelin.stm32@gmail.com> + * Gerald Baeza <gerald.baeza@st.com> +- * License terms: GNU General Public License (GPL), version 2 + * + * Inspired by st-asc.c from STMicroelectronics (c) + */ +diff --git a/drivers/tty/serial/stm32-usart.h b/drivers/tty/serial/stm32-usart.h +index 174be6141cef..8a5ff54d0f42 100644 +--- a/drivers/tty/serial/stm32-usart.h ++++ b/drivers/tty/serial/stm32-usart.h +@@ -4,7 +4,6 @@ + * Copyright (C) STMicroelectronics SA 2017 + * Authors: Maxime Coquelin <mcoquelin.stm32@gmail.com> + * Gerald Baeza <gerald_baeza@yahoo.fr> +- * License terms: GNU General Public License (GPL), version 2 + */ + + #define DRIVER_NAME "stm32-usart" +diff --git a/drivers/tty/serial/tilegx.c b/drivers/tty/serial/tilegx.c +index 311eea391f57..f0a3ae57f881 100644 +--- a/drivers/tty/serial/tilegx.c ++++ b/drivers/tty/serial/tilegx.c +@@ -2,16 +2,6 @@ + /* + * Copyright 2013 Tilera 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 +- * as published by the Free Software Foundation, version 2. +- * +- * This program is distributed in the hope that it will be useful, but +- * WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or +- * NON INFRINGEMENT. See the GNU General Public License for +- * more details. +- * + * TILEGx UART driver. + */ + +diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c +index cdbc23fc85e3..19d38b504e27 100644 +--- a/drivers/tty/serial/timbuart.c ++++ b/drivers/tty/serial/timbuart.c +@@ -2,19 +2,6 @@ + /* + * timbuart.c timberdale FPGA UART 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. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + /* Supports: +diff --git a/drivers/tty/serial/timbuart.h b/drivers/tty/serial/timbuart.h +index 6c642e99abcf..fb00b172117d 100644 +--- a/drivers/tty/serial/timbuart.h ++++ b/drivers/tty/serial/timbuart.h +@@ -2,19 +2,6 @@ + /* + * timbuart.c timberdale FPGA GPIO 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. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + /* Supports: +diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c +index 5bf19bca480d..67917622aaf3 100644 +--- a/drivers/tty/serial/uartlite.c ++++ b/drivers/tty/serial/uartlite.c +@@ -4,10 +4,6 @@ + * + * Copyright (C) 2006 Peter Korsgaard <jacmet@sunsite.dk> + * Copyright (C) 2007 Secret Lab Technologies Ltd. +- * +- * This file is licensed under the terms of the GNU General Public License +- * version 2. This program is licensed "as is" without any warranty of any +- * kind, whether express or implied. + */ + + #include <linux/platform_device.h> +diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c +index b01772712c1d..2b6376e6e5ad 100644 +--- a/drivers/tty/serial/ucc_uart.c ++++ b/drivers/tty/serial/ucc_uart.c +@@ -4,10 +4,7 @@ + * + * Author: Timur Tabi <timur@freescale.com> + * +- * Copyright 2007 Freescale Semiconductor, Inc. This file is licensed under +- * the terms of the GNU General Public License version 2. This program +- * is licensed "as is" without any warranty of any kind, whether express +- * or implied. ++ * Copyright 2007 Freescale Semiconductor, Inc. + * + * This driver adds support for UART devices via Freescale's QUICC Engine + * found on some Freescale SOCs. +diff --git a/drivers/tty/serial/vr41xx_siu.c b/drivers/tty/serial/vr41xx_siu.c +index fc100ea7eded..6d106e33f842 100644 +--- a/drivers/tty/serial/vr41xx_siu.c ++++ b/drivers/tty/serial/vr41xx_siu.c +@@ -5,20 +5,6 @@ + * Copyright (C) 2004-2008 Yoichi Yuasa <yuasa@linux-mips.org> + * + * Based on drivers/serial/8250.c, by Russell King. +- * +- * This program is free software; you can redistribute it and/or modify +- * it under the terms of the GNU General Public License as published by +- * the Free Software Foundation; either version 2 of the License, or +- * (at your option) any later version. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT ANY WARRANTY; without even the implied warranty of +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- * GNU General Public License for more details. +- * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #if defined(CONFIG_SERIAL_VR41XX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c +index 334f0f4e20f5..3d58e9b34553 100644 +--- a/drivers/tty/serial/vt8500_serial.c ++++ b/drivers/tty/serial/vt8500_serial.c +@@ -5,15 +5,6 @@ + * Based on msm_serial.c, which is: + * Copyright (C) 2007 Google, Inc. + * Author: Robert Love <rlove@google.com> +- * +- * This software is licensed under the terms of the GNU General Public +- * License version 2, as published by the Free Software Foundation, and +- * may be copied, distributed, and modified under those terms. +- * +- * This program is distributed in the hope that it will be useful, +- * but WITHOUT 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(CONFIG_SERIAL_VT8500_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c +index 09926355b7f2..69702d3eaf55 100644 +--- a/drivers/tty/serial/xilinx_uartps.c ++++ b/drivers/tty/serial/xilinx_uartps.c +@@ -4,12 +4,6 @@ + * + * 2011 - 2014 (C) Xilinx Inc. + * +- * This program is free software; you can redistribute it +- * and/or modify it under the terms of the GNU General Public +- * License as published by the Free Software Foundation; +- * either version 2 of the License, or (at your option) any +- * later version. +- * + * This driver has originally been pushed by Xilinx using a Zynq-branding. This + * still shows in the naming of this file, the kconfig symbols and some symbols + * in the code. +-- +2.19.0 + |