phy: Add phydev_err() and phydev_dbg() macros
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:09 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:24 +0000 (14:31 -0500)
commit72ba48be3ec8e70937ad97d4420ef7144617c64b
tree6d23ff6974ae35e28d01b6199468ce5d6b0fcada
parentcd690e48f567642e1c1a2b67e592010e6456082a
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>
drivers/net/phy/at803x.c
drivers/net/phy/bcm87xx.c
drivers/net/phy/micrel.c
drivers/net/phy/phy.c
include/linux/phy.h