net: phy: use of_mdio_parse_addr
authorJon Mason <jon.mason@broadcom.com>
Wed, 31 May 2017 19:43:30 +0000 (15:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 18:22:31 +0000 (14:22 -0400)
commitd0a65400eba812e86aa5676524dad09af3292f5a
tree681c70b84a088d629eace7a7ccee6dd95ad9e7af
parent775e68a93fe4d33ec93949c8022ed84b97a97096
net: phy: use of_mdio_parse_addr

use of_mdio_parse_addr() in place of an OF read of reg and a bounds
check (which is litterally the exact same thing that
of_mdio_parse_addr() does)

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Reviewed-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/mdio_bus.c