Skip to content
Commit 9131d3d8 authored by Archit Taneja's avatar Archit Taneja Committed by Dave Airlie
Browse files

drm: cleanup: use drm_framebuffer_reference instead of a kref_get



drm_framebuffer_lookup() does a kref_get() for the framebuffer if it finds one
corresponding to the fb id passed to it. Use drm_framebuffer_reference() instead
for clarity since it's the function used in other places to take a reference.

Signed-off-by: default avatarArchit Taneja <archit@ti.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent c2ed8844
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment