diff options
author | Daniel Mack <zonque@gmail.com> | 2014-05-24 09:34:25 +0200 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 08:58:54 -0500 |
commit | 65d76bbcdd9e2bcdc2a513b6fafa0ee5eeec3591 (patch) | |
tree | 279606e87265b5a18e182a8ecafe8a97584d3b47 /drivers/net/phy/mdio_bus.c | |
parent | e1c4c194677f3625500955ddfe9638a27e4e36e3 (diff) |
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