Skip to content

Commit 9aab906

Browse files
nishadkamdardavem330
authored andcommitted
net: phy: Use the correct style for SPDX License Identifier
This patch corrects the SPDX License Identifier style in header files related to PHY Layer for Ethernet 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). This patch also gives an explicit block comment to the SPDX License Identifier. 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]> Signed-off-by: David S. Miller <[email protected]>
1 parent b167191 commit 9aab906

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

drivers/net/phy/aquantia.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* SPDX-License-Identifier: GPL-2.0
2-
* HWMON driver for Aquantia PHY
1+
/* SPDX-License-Identifier: GPL-2.0 */
2+
/* HWMON driver for Aquantia PHY
33
*
44
* Author: Nikita Yushchenko <[email protected]>
55
* Author: Andrew Lunn <[email protected]>

drivers/net/phy/bcm-phy-lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
/* SPDX-License-Identifier: GPL-2.0 */
22
/*
33
* Copyright (C) 2015 Broadcom Corporation
44
*/

drivers/net/phy/mdio-cavium.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
/* SPDX-License-Identifier: GPL-2.0 */
22
/*
33
* Copyright (C) 2009-2016 Cavium, Inc.
44
*/

drivers/net/phy/mdio-i2c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
/* SPDX-License-Identifier: GPL-2.0 */
22
/*
33
* MDIO I2C bridge
44
*

drivers/net/phy/mdio-xgene.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0+
1+
/* SPDX-License-Identifier: GPL-2.0+ */
22
/* Applied Micro X-Gene SoC MDIO Driver
33
*
44
* Copyright (c) 2016, Applied Micro Circuits Corporation

0 commit comments

Comments
 (0)