diff options
author | Dejin Zheng <zhengdejin5@gmail.com> | 2020-03-23 23:05:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-23 22:00:02 -0700 |
commit | 745a237c18f3f5bfe094e458f9bea5a72831ff1e (patch) | |
tree | 32c3685afa70be046d0539ba99258e6469138e92 /usr | |
parent | net: phy: introduce phy_read_poll_timeout macro (diff) | |
download | wireguard-linux-745a237c18f3f5bfe094e458f9bea5a72831ff1e.tar.xz wireguard-linux-745a237c18f3f5bfe094e458f9bea5a72831ff1e.zip |
net: phy: use phy_read_poll_timeout() to simplify the code
use phy_read_poll_timeout() to replace the poll codes for
simplify the code in phy_poll_reset() function.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions