]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci230: usleep_range is preferred over udelay
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 Jul 2014 11:58:14 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:54:03 +0000 (16:54 -0700)
commit5d0e0c05b3a11d41a8bb076f1ea59cf135c808de
treead67e40bd5b39db92f838790532afa513a6e0b05
parent0939dacb0b8d2b93b8632aa04ce5a4d0add22598
staging: comedi: amplc_pci230: usleep_range is preferred over udelay

Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt".  I picked 100 us as a reasonable
upper bound, but it's not that critical.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c