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

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 <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Nishad Kamdar and committed by
David S. Miller
9aab906a b167191e

+6 -6
+2 -2
drivers/net/phy/aquantia.h
··· 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 3 3 * 4 4 * Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com> 5 5 * Author: Andrew Lunn <andrew@lunn.ch>
+1 -1
drivers/net/phy/bcm-phy-lib.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (C) 2015 Broadcom Corporation 4 4 */
+1 -1
drivers/net/phy/mdio-cavium.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (C) 2009-2016 Cavium, Inc. 4 4 */
+1 -1
drivers/net/phy/mdio-i2c.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * MDIO I2C bridge 4 4 *
+1 -1
drivers/net/phy/mdio-xgene.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* Applied Micro X-Gene SoC MDIO Driver 3 3 * 4 4 * Copyright (c) 2016, Applied Micro Circuits Corporation