drm/ttm: Use kref_sub instead of repeatedly calling kref_put
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 16 Nov 2010 14:21:08 +0000 (15:21 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:25:14 +0000 (13:25 +1000)
commit2357cbe5f4ca8a52329c2c2a26b68839870d5d43
tree02bb29fd294a6855018814d0ce4e6f659f4ef5a5
parentecf7ace9a8450303a987aa8364e53860cd50e554
drm/ttm: Use kref_sub instead of repeatedly calling kref_put

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