drivers/gpu/drm/radeon/atom.c: fix warning
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 23 May 2011 21:48:32 +0000 (14:48 -0700)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2011 23:00:37 +0000 (09:00 +1000)
udelay() doesn't like 8-bit arguments:

drivers/gpu/drm/radeon/atom.c: In function 'atom_op_delay':
drivers/gpu/drm/radeon/atom.c:653: warning: comparison is always false due to limited range of data type

while we're there, use msleep() rather than open-coding it.

Cc: David Airlie <airlied@linux.ie>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found