diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-02-17 00:57:49 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-02-18 11:20:18 +0100 |
commit | 5262767deda2a46014654ad2f7e20a42397861b1 (patch) | |
tree | c5edd01c463ccc68f8c55f28e766514c2d178416 /drivers/net/sh_eth.c | |
parent | 60279b5757990665386799ccf681d420de295404 (diff) |
net: sh_eth: Fix checkpatch warning
Fix minor checkpatch warning about udelay(3000) being too long
and should be replaced by mdelay(3).
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/sh_eth.c')
-rw-r--r-- | drivers/net/sh_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 6863aecef9..1864c894b7 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -179,7 +179,7 @@ static int sh_eth_reset(struct sh_eth_dev *eth) return ret; #else sh_eth_write(port_info, sh_eth_read(port_info, EDMR) | EDMR_SRST, EDMR); - udelay(3000); + mdelay(3); sh_eth_write(port_info, sh_eth_read(port_info, EDMR) & ~EDMR_SRST, EDMR); |