commit | 704f691a5fb33c461ed9a7b6abe115ae3c323691 | [log] [tgz] |
---|---|---|
author | Dejin Zheng <zhengdejin5@gmail.com> | Mon Mar 23 23:06:00 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 23 22:00:02 2020 -0700 |
tree | 13d82e4cd420e6702ada735aeb165a2ff6694b91 | |
parent | 7ae7ad2f11ef476b5e92f1d7dc4c5dd9194c4d5f [diff] |
net: phy: tja11xx: use phy_read_poll_timeout() to simplify the code use phy_read_poll_timeout() to replace the poll codes for simplify tja11xx_check() function. Suggested-by: Andrew Lunn <andrew@lunn.ch> 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>