treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / phy / aquantia.h
blobc684b65c642cc5c2e66c85c8ef27d5c2a3c2999f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* HWMON driver for Aquantia PHY
4 * Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
5 * Author: Andrew Lunn <andrew@lunn.ch>
6 * Author: Heiner Kallweit <hkallweit1@gmail.com>
7 */
9 #include <linux/device.h>
10 #include <linux/phy.h>
12 #if IS_REACHABLE(CONFIG_HWMON)
13 int aqr_hwmon_probe(struct phy_device *phydev);
14 #else
15 static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
16 #endif