drm/ttm: use cancel_delayed_work_sync() in ttm_bo
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (15:59 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (15:59 +0100)
commitf094cfc6c382cec7b2c77dd7798576684153acbb
treead64b194f52302e7db6941769d19211340570c1c
parent404437efc713b6c6fc8e2dc02978624bf4586e2d
drm/ttm: use cancel_delayed_work_sync() in ttm_bo

Make ttm_bo::ttm_bo_device_release call cancel_delayed_work_sync()
instead of calling cancel_delayed_work() followed by
flush_scheduled_work().

This is to prepare for the deprecation and removal of
flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc:: Thomas Hellstrom <thellstrom@vmware.com>
Cc:: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c