net: phy: Add phydev_info()
Add phydev_info() and make use of it within the phy drivers and core code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ab2a605fa6
commit
c4fabb8b3c
@@ -968,6 +968,9 @@ static inline void phy_device_reset(struct phy_device *phydev, int value)
|
||||
#define phydev_err(_phydev, format, args...) \
|
||||
dev_err(&_phydev->mdio.dev, format, ##args)
|
||||
|
||||
#define phydev_info(_phydev, format, args...) \
|
||||
dev_info(&_phydev->mdio.dev, format, ##args)
|
||||
|
||||
#define phydev_warn(_phydev, format, args...) \
|
||||
dev_warn(&_phydev->mdio.dev, format, ##args)
|
||||
|
||||
|
Reference in New Issue
Block a user