]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: adin: fix a warning about msleep
authorDejin Zheng <zhengdejin5@gmail.com>
Fri, 17 Jan 2020 15:10:42 +0000 (23:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:06:42 +0000 (16:06 +0100)
commitbfe2a1ee45bb5a9ee674fd8ff1c80345fdb96989
tree2455a3788355007723654702d1d049f4413cbbc7
parent9041002b5866dca61475291b5bc9cbf099004190
net: phy: adin: fix a warning about msleep

found a warning by the following command:
./scripts/checkpatch.pl -f drivers/net/phy/adin.c

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
 #628: FILE: drivers/net/phy/adin.c:628:
+ msleep(10);

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/adin.c