Commit 5262767deda2a46014654ad2f7e20a42397861b1

Authored by Marek Vasut
Committed by Marek Vasut
1 parent 60279b5757

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/net/sh_eth.c
... ... @@ -179,7 +179,7 @@
179 179 return ret;
180 180 #else
181 181 sh_eth_write(port_info, sh_eth_read(port_info, EDMR) | EDMR_SRST, EDMR);
182   - udelay(3000);
  182 + mdelay(3);
183 183 sh_eth_write(port_info,
184 184 sh_eth_read(port_info, EDMR) & ~EDMR_SRST, EDMR);
185 185