commit | 331c7372bd7a3ea452687d98e838067b3677f367 | [log] [tgz] |
---|---|---|
author | Dejin Zheng <zhengdejin5@gmail.com> | Mon Mar 23 23:05:54 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 23 22:00:02 2020 -0700 |
tree | d06ee03d4eaaf8c3e6cbcd87a1fa972319341ca9 | |
parent | bd971ff0b73927b91f4520621d49d3a801ee4837 [diff] |
net: phy: bcm84881: use phy_read_mmd_poll_timeout() to simplify the code use phy_read_mmd_poll_timeout() to replace the poll codes for simplify bcm84881_wait_init() function. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>