Skip to content
Commit 764e5582 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-stmmac-Use-readl_poll_timeout-to-simplify-the-code'



Dejin Zheng says:

====================
net: stmmac: Use readl_poll_timeout() to simplify the code

This patch sets just for replace the open-coded loop to the
readl_poll_timeout() helper macro for simplify the code in
stmmac driver.

v2 -> v3:
	- return whatever error code by readl_poll_timeout() returned.
v1 -> v2:
	- no changed. I am a newbie and sent this patch a month
	  ago (February 6th). So far, I have not received any comments or
	  suggestion. I think it may be lost somewhere in the world, so
	  resend it.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents a1dd3875 45d0da49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment