OSDN Git Service

staging: wilc1000: use usleep_range() in place of udelay()
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:42 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:57 +0000 (20:53 +0200)
commitfb8ec2158fe85f440350bfb467129e2ae5204879
tree30a3b204d6b5cfb1e9119e57f8fd0c8a96e6c403
parentb5fe797fb0f2ae8be9c34d0f8e1d0310d6f4bc11
staging: wilc1000: use usleep_range() in place of udelay()

Changes to avoid the below checkpatch warning:

'usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt;'

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c