linux/drivers/staging/xgifb
Navya Sri Nizamkari d8acac9421 Staging: xgifb: Replace udelay, mdelay functions with usleep_range
This patch fixes the checkpatch.pl check:

CHECK: usleep_range is preferred over udelay.

Replace mdelay with usleep_range function too.
Add 1 millisecond to the delay time to get a
reasonable upper limit which saves one wakeup call.
Do same throughout the file.

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-24 19:11:30 -07:00
..
Kconfig
Makefile staging/xgifb: Move register helper functions to header 2015-07-14 19:55:31 -07:00
TODO
vb_def.h staging: xgifb: Removed a definition which was not used in driver 2014-11-03 16:10:38 -08:00
vb_init.c Staging: xgifb: Replace udelay, mdelay functions with usleep_range 2015-10-24 19:11:30 -07:00
vb_init.h staging: xgifb: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
vb_setmode.c staging: xgifb: use swap() in XGI_WriteDAC() 2015-05-31 10:30:40 +09:00
vb_setmode.h staging: xgifb: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
vb_struct.h
vb_table.h
vb_util.h Staging: xgifb: vb_util: Fixed sparse warning of bit truncation due to cast 2015-10-02 11:36:00 +02:00
vgatypes.h
XGI_main.h
XGI_main_26.c staging: xgifb: make XGIfb_has_VB return boolean 2015-10-24 19:11:30 -07:00
XGIfb.h