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

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

This patch corrects the SPDX License Identifier style in
header files related to USB Serial device configuration.
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>
Signed-off-by: Johan Hovold <johan@kernel.org>

authored by

Nishad Kamdar and committed by
Johan Hovold
788a4ee6 ae83d0b4

+12 -12
+1 -1
drivers/usb/serial/belkin_sa.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Definitions for Belkin USB Serial Adapter Driver 4 4 *
+1 -1
drivers/usb/serial/io_16654.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /************************************************************************ 3 3 * 4 4 * 16654.H Definitions for 16C654 UART used on EdgePorts
+1 -1
drivers/usb/serial/io_edgeport.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /************************************************************************ 3 3 * 4 4 * io_edgeport.h Edgeport Linux Interface definitions
+1 -1
drivers/usb/serial/io_ionsp.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /************************************************************************ 3 3 * 4 4 * IONSP.H Definitions for I/O Networks Serial Protocol
+1 -1
drivers/usb/serial/io_ti.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /***************************************************************************** 3 3 * 4 4 * Copyright (C) 1997-2002 Inside Out Networks, Inc.
+1 -1
drivers/usb/serial/io_usbvend.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /************************************************************************ 3 3 * 4 4 * USBVEND.H Vendor-specific USB definitions
+1 -1
drivers/usb/serial/iuu_phoenix.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Infinity Unlimited USB Phoenix driver 4 4 *
+1 -1
drivers/usb/serial/mct_u232.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Definitions for MCT (Magic Control Technology) USB-RS232 Converter Driver 4 4 *
+1 -1
drivers/usb/serial/oti6858.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Ours Technology Inc. OTi-6858 USB to serial adapter driver. 4 4 */
+1 -1
drivers/usb/serial/pl2303.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Prolific PL2303 USB to serial adaptor driver header file 4 4 */
+1 -1
drivers/usb/serial/visor.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * USB HandSpring Visor driver 4 4 *
+1 -1
drivers/usb/serial/whiteheat.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * USB ConnectTech WhiteHEAT driver 4 4 *