commit | 739de9a1563a19459c82d0d8c4d1cc8eb55ddf4e | [log] [tgz] |
---|---|---|
author | Brad Mouring <brad.mouring@ni.com> | Tue Mar 13 16:32:13 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 16 11:14:33 2018 -0400 |
tree | e38d03b00525a4162533af0a625398188ea2000b | |
parent | 2b221d20db7583fa8f36d4545554786fcf93ca8e [diff] |
net: macb: Reorganize macb_mii bringup The macb mii setup (mii_probe() and mii_init()) previously was somewhat interspersed, likely a result of organic growth and hacking. This change moves mii bus registration into mii_init and probing the bus for devices into mii_probe. Signed-off-by: Brad Mouring <brad.mouring@ni.com> Suggested-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>