r8169: use fsleep in polling functions
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 1 May 2020 21:29:12 +0000 (23:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 00:03:34 +0000 (17:03 -0700)
commitd6836ef02c1726c4c5f1cb712a9abdcd5f8fcd14
tree6cf1bc43c66f49a9c343b3c5bce74fe124744669
parentc6af13d334759c33c14b6fad4c676c6d1dbf9564
r8169: use fsleep in polling functions

Use new flexible sleep function fsleep() to merge the udelay and msleep
polling functions. We can safely do this because no polling function
is used in atomic context in this driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c