diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2017-02-08 09:31:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-08 15:11:24 -0500 |
commit | a5f48adc316aa21944c19019583fb9933af01b9a (patch) | |
tree | f92e90b4b4e34daeb833180bd3ed0e5eb42b741c /drivers | |
parent | efd89b60a35d6ab0bfdd24348a0b6dbe7118aee4 (diff) |
net: stmmac: replace stmmac_mdio_busy_wait by readl_poll_timeout
The stmmac_mdio_busy_wait() function do the same job than
readl_poll_timeout().
So is is better to replace it.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')