Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: serial: Use the correct style for SPDX License Identifier

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>

authored by

Nishad Kamdar and committed by
Greg Kroah-Hartman
4f5f5887 7ba87cfe

+12 -12
+1 -1
drivers/tty/serial/8250/8250.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Driver for 8250/16550-type serial ports 4 4 *
+1 -1
drivers/tty/serial/8250/8250_dwlib.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* Synopsys DesignWare 8250 library header file. */ 3 3 4 4 #include <linux/types.h>
+1 -1
drivers/tty/serial/atmel_serial.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * include/linux/atmel_serial.h 4 4 *
+1 -1
drivers/tty/serial/cpm_uart/cpm_uart.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Driver for CPM (SCC/SMC) serial ports 4 4 *
+1 -1
drivers/tty/serial/icom.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * icom.h 4 4 *
+1 -1
drivers/tty/serial/ifx6x60.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /**************************************************************************** 3 3 * 4 4 * Driver for the IFX spi modem.
+1 -1
drivers/tty/serial/jsm/jsm.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /************************************************************************ 3 3 * Copyright 2003 Digi International (www.digi.com) 4 4 *
+1 -1
drivers/tty/serial/pic32_uart.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * PIC32 Integrated Serial Driver. 4 4 *
+1 -1
drivers/tty/serial/serial_mctrl_gpio.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Helpers for controlling modem lines via GPIO 4 4 *
+1 -1
drivers/tty/serial/sirfsoc_uart.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Drivers for CSR SiRFprimaII onboard UARTs. 4 4 *
+1 -1
drivers/tty/serial/stm32-usart.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (C) Maxime Coquelin 2015 4 4 * Copyright (C) STMicroelectronics SA 2017
+1 -1
drivers/tty/serial/timbuart.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * timbuart.c timberdale FPGA GPIO driver 4 4 * Copyright (c) 2009 Intel Corporation