drm/mode: rework drm_mode_object_put to drm_mode_object_unregister.
authorDave Airlie <airlied@redhat.com>
Fri, 15 Apr 2016 05:10:32 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Apr 2016 00:26:37 +0000 (10:26 +1000)
commit7c8f6d2577c7565f67ba3f6b9b76f7422710d66e
tree33d60e46d7d32185a4bd61c79015661dd683246b
parent9a297b36f4bb175ec23054a1182178977cde7859
drm/mode: rework drm_mode_object_put to drm_mode_object_unregister.

This changes the code to handle being called multiple times without
side effects. The new names seems more suitable for what it does.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_modes.c