drm: minor kref_put() nits
commitcdb650a4b5eaf1c0aedbfd7dd6afd6d465c3b0a0
authorPaul Bolle <pebolle@tiscali.nl>
Sun, 27 Feb 2011 00:34:08 +0000 (27 01:34 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 10 Apr 2011 15:01:02 +0000 (10 17:01 +0200)
tree89e97d86e6af190b0dab9f1359055ebbd2710825
parent7422caa5a1a53ee6b21a687c61cc5435edf8c19f
drm: minor kref_put() nits

There's no need to pass kref_put() the address of a function (just the
function will do just fine) nor to cast its unused return to void.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/ttm/ttm_object.c