]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5801eec7b3246fdf73f6102dd87b0543398274a0
treeb408aa376797759a83285419fd3186fc34899ef8
parent65475a158e0c1a5137cf9416990c12d193af9b3c
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