diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-01-06 22:11:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-07 22:31:24 +0300 |
commit | 72ba48be3ec8e70937ad97d4420ef7144617c64b (patch) | |
tree | 6d23ff6974ae35e28d01b6199468ce5d6b0fcada /drivers/net/phy/at803x.c | |
parent | cd690e48f567642e1c1a2b67e592010e6456082a (diff) | |
download | linux-72ba48be3ec8e70937ad97d4420ef7144617c64b.tar.xz |
phy: Add phydev_err() and phydev_dbg() macros
In preparation for moving some of the phy_device structure members,
add macros for printing errors and debug information.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/at803x.c')
-rw-r--r-- | drivers/net/phy/at803x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 2d020a3ec0b5..62361f8af375 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -281,8 +281,8 @@ static void at803x_link_change_notify(struct phy_device *phydev) at803x_context_restore(phydev, &context); - dev_dbg(&phydev->dev, "%s(): phy was reset\n", - __func__); + phydev_dbg(phydev, "%s(): phy was reset\n", + __func__); priv->phy_reset = true; } } else { |