drm/i915: Drop the msleep parameter to wait_for()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Aug 2010 16:43:35 +0000 (17:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:13:29 +0000 (10:13 +0100)
commit481b6af3d1f36d4a19bd36321c1e9f713db49aad
treeaf86f7fdd673130fe726df2bd822eb45abce63a4
parent75ef9da2cdb64e7926404dd2b755bbbfe98eaeaf
drm/i915: Drop the msleep parameter to wait_for()

Jesse's feedback from using the wait_for() macro was that the msleep
argument was that it was superfluous and made the macro more difficult
to use and to read. As the actually amount of time to sleep is not
critical, the crucial part is to sleep and let the processor schedule
something else whilst we wait for the event, replace the argument with a
hardcoded value.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c