summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_bus.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-05-24 09:34:25 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-29 15:23:18 -0700
commit8f8382888cbaf6de13046437d41a1c3d1394d51f (patch)
treec55be762ab32ea47eedfe2b1dfe27a08ea4640d6 /drivers/net/phy/mdio_bus.c
parent6623b4194459c07859d3e3196c3994fa7be5b88e (diff)
downloadtalos-obmc-linux-8f8382888cbaf6de13046437d41a1c3d1394d51f.tar.gz
talos-obmc-linux-8f8382888cbaf6de13046437d41a1c3d1394d51f.zip
net: of_mdio: factor out code to parse a phy's 'reg' property
Factor out some logic into of_mdio_parse_addr() so it can be reused later. While at it, use of_property_read_u32() rather than open-coding the same logic again. Signed-off-by: Daniel Mack <zonque@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud