of: mdio: export of_mdio_parse_addr
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 10 Mar 2015 23:57:11 +0000 (16:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Mar 2015 21:56:28 +0000 (17:56 -0400)
Export of_mdio_parse_addr() which allows parsing a given Ethernet PHY
node MDIO address, verify it is within the allowed range, and return
its value. This is going to be useful for the DSA code which needs to
deal with multiple layers of MDIO buses.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c
include/linux/of_mdio.h

Simple merge
Simple merge