tty: serial: Use the correct style for SPDX License Identifier
authorNishad Kamdar <nishadkamdar@gmail.com>
Sun, 1 Mar 2020 20:45:21 +0000 (02:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2020 08:52:01 +0000 (09:52 +0100)
This patch corrects the SPDX License Identifier style in
header files related to tty serial drivers.
For C header files Documentation/process/license-rules.rst
mandates C-like comments (opposed to C source files where
C++ style should be used).

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Link: https://lore.kernel.org/r/20200301204517.GA10368@nishad
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 files changed:
drivers/tty/serial/8250/8250.h
drivers/tty/serial/8250/8250_dwlib.h
drivers/tty/serial/atmel_serial.h
drivers/tty/serial/cpm_uart/cpm_uart.h
drivers/tty/serial/icom.h
drivers/tty/serial/ifx6x60.h
drivers/tty/serial/jsm/jsm.h
drivers/tty/serial/pic32_uart.h
drivers/tty/serial/serial_mctrl_gpio.h
drivers/tty/serial/sirfsoc_uart.h
drivers/tty/serial/stm32-usart.h
drivers/tty/serial/timbuart.h

index 33ad9d6de532342c8d40f86bcd123d23b1ea391b..32881e21b0c815453a112d61c7f82b1440a6df5b 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  *  Driver for 8250/16550-type serial ports
  *
index 87a4db2a8aba6499bebe9a43fe2c0a416aa31986..9a12953832d395f2c285a95df18bdedd540d734e 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /* Synopsys DesignWare 8250 library header file. */
 
 #include <linux/types.h>
index d811d4f2d0c06c8ffe0370093dc161651c222524..0d8a0f9cc5c33330a644f670f4b6be1d26d0aa06 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * include/linux/atmel_serial.h
  *
index f775b042457aefafade1081e9e24c91bf42d714d..6113b953ce25063a7fd61d2f843d6d8aa0375687 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *  Driver for CPM (SCC/SMC) serial ports
  *
index 8a77e739b333955949ca26f50c8a74ea9ff59f38..26e3aa7b01e2c1000e80c73206438e81b45d37b6 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * icom.h
  *
index c5a2514212ff8829c1eed39b2fe81ef6e25412b8..cacca5be73908838348b1a71d52c5b503fe20e9e 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /****************************************************************************
  *
  * Driver for the IFX spi modem.
index 7a128aaa3a667ca2ecc756f25217b3460d4fe38d..8489c07f4cd5eadcb749e3a2f288ff74de77df06 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /************************************************************************
  * Copyright 2003 Digi International (www.digi.com)
  *
index 2f2b56927dc693fa07fbe90ab12a0b4f5e2366dc..b15639cc336b4bd876d642d66139826b28671509 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * PIC32 Integrated Serial Driver.
  *
index 1b2ff503b2c249bba679ff758ad0d0222aa13d8c..b134a0ffc894c6df04e1393a4186bb744519c8c4 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Helpers for controlling modem lines via GPIO
  *
index 637b09d3fe798f6bc5c2c3e2b08d3f4270b5b463..fb88ac5652276ec57119a0e6b824e0fa86495b9e 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Drivers for CSR SiRFprimaII onboard UARTs.
  *
index a175c1094dc8dfa0551b81c4ed5cc73cc87d16c1..db8bf0d4982d3129acfb17d02f864e681fa59a67 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) Maxime Coquelin 2015
  * Copyright (C) STMicroelectronics SA 2017
index fb00b172117d3e3fdf06cf2c902ebb68ee30afbe..007e59af636d7b52b62c04fa68e55533a5714159 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * timbuart.c timberdale FPGA GPIO driver
  * Copyright (c) 2009 Intel Corporation