mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Nishad Kamdar](/assets/img/avatar_default.png)
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>
16 lines
450 B
C
16 lines
450 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* HWMON driver for Aquantia PHY
|
|
*
|
|
* Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
|
|
* Author: Andrew Lunn <andrew@lunn.ch>
|
|
* Author: Heiner Kallweit <hkallweit1@gmail.com>
|
|
*/
|
|
|
|
#include <linux/device.h>
|
|
#include <linux/phy.h>
|
|
|
|
#if IS_REACHABLE(CONFIG_HWMON)
|
|
int aqr_hwmon_probe(struct phy_device *phydev);
|
|
#else
|
|
static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
|
|
#endif
|