net: of_mdio: use PHY_MAX_ADDR constant
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 5 Dec 2013 22:52:11 +0000 (14:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2013 19:57:20 +0000 (14:57 -0500)
commitbed2f9ed2f3c4debe2e930c44ee95af980db7e20
treeb408aa376797759a83285419fd3186fc34899ef8
parent2e79cb303010d5d2b7810c11bc5d1f09a8500405
net: of_mdio: use PHY_MAX_ADDR constant

Use the PHY_MAX_ADDR constant for checking if a MDIO bus address is
valid instead of using a plain "32".

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c