Skip to content
Snippets Groups Projects
Commit 32709793 authored by Liu Ying's avatar Liu Ying Committed by Simona Vetter
Browse files

drm/crtc: Use drm_mode_object_put() in __drm_framebuffer_unregister()


The function __drm_framebuffer_unregister() has boilerplate code to drop idr
reference.  Let's replace it with drm_mode_object_put() to simplify the code.

Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1456716070-2602-1-git-send-email-gnuiyl@gmail.com
parent 44ab4042
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment