From: Marek Vasut Date: Fri, 16 Feb 2018 23:57:49 +0000 (+0100) Subject: net: sh_eth: Fix checkpatch warning X-Git-Tag: v2018.03-rc3~7^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5262767deda2a46014654ad2f7e20a42397861b1;p=u-boot 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 Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- 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);