diff options
author | Dave Airlie <airlied@redhat.com> | 2016-04-15 15:10:32 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-04-22 10:26:37 +1000 |
commit | 7c8f6d2577c7565f67ba3f6b9b76f7422710d66e (patch) | |
tree | 33d60e46d7d32185a4bd61c79015661dd683246b /drivers/gpu/drm/drm_crtc_internal.h | |
parent | 9a297b36f4bb175ec23054a1182178977cde7859 (diff) | |
download | talos-obmc-linux-7c8f6d2577c7565f67ba3f6b9b76f7422710d66e.tar.gz talos-obmc-linux-7c8f6d2577c7565f67ba3f6b9b76f7422710d66e.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_internal.h')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index 247dc8b62564..a78c138282ea 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -33,8 +33,8 @@ int drm_mode_object_get(struct drm_device *dev, struct drm_mode_object *obj, uint32_t obj_type); -void drm_mode_object_put(struct drm_device *dev, - struct drm_mode_object *object); +void drm_mode_object_unregister(struct drm_device *dev, + struct drm_mode_object *object); /* drm_atomic.c */ int drm_atomic_get_property(struct drm_mode_object *obj, |