]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: use readl_poll_timeout() function in init_systime()
authorDejin Zheng <zhengdejin5@gmail.com>
Mon, 16 Mar 2020 02:32:53 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2020 09:10:09 +0000 (02:10 -0700)
commit0ca521039973e63a17239856d4428503c33ca88c
tree1a4186c7764097fd32114d496883edaa9a927e90
parent191ade8dac28c6f2f6590180a79934bf9b1a2a68
net: stmmac: use readl_poll_timeout() function in init_systime()

The init_systime() function use an open coded of readl_poll_timeout().
Replace the open coded handling with the proper function.

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c