commit | 9131d3d87bf7c8cfc9bdc3d3d927ec3967f0e9a6 | [log] [tgz] |
---|---|---|
author | archit taneja <archit@ti.com> | Wed Apr 10 08:59:39 2013 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Fri Apr 12 14:08:15 2013 +1000 |
tree | 2c6730a3ab917b4f923c86765a77412948374c9c | |
parent | c2ed8844246dd4c46208c5f6fa79fd3cfcc671ca [diff] |
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: Archit Taneja <archit@ti.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>