net: dsa: microchip: Use the correct style for SPDX License Identifier
PATCH 1/1 net: dsa: microchip: Use the correct style for SPDX License Identifier
This patch corrects the SPDX License Identifier style in header files related to Distributed Switch Architecture drivers for Microchip KSZ series switch support. 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.
--- drivers/net/dsa/microchip/ksz9477_reg.h | 4 ++-- drivers/net/dsa/microchip/ksz_common.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/dsa/microchip/ksz9477_reg.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Microchip KSZ9477 register definitions * * Copyright (C) 2017-2018 Microchip Technology Inc.
drivers/net/dsa/microchip/ksz_common.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* Microchip switch driver common header +/* SPDX-License-Identifier: GPL-2.0 */ +/* Microchip switch driver common header * * Copyright (C) 2017-2019 Microchip Technology Inc. */
Signature · 1 line
2.17.1
From: Nishad Kamdar <[email protected]>
Date: Sat, 12 Oct 2019 17:48:56 +0530
Quoted 7 lines
This patch corrects the SPDX License Identifier style in header files related to Distributed Switch Architecture drivers for Microchip KSZ series switch support. For C header files
Documentation/process/license-rules.rstmandates C-like comments (opposed to C source files where C++ style should be used)
Quoted 5 lines
Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>
Applied.