drm/mode: use _object_find to find framebuffers.
authorDave Airlie <airlied@redhat.com>
Fri, 15 Apr 2016 05:10:37 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Apr 2016 00:36:41 +0000 (10:36 +1000)
commitcee26ac47dc2c2846ecd0fc80cf857942c1fcd77
tree5f9c84a0ff9a9faa1567cfb2656c333b38d99191
parentd0f37cf62979e65558c1b7bd4d4c221c5281bae1
drm/mode: use _object_find to find framebuffers.

No point have this code dupliated at this point, use the
_object_find code instead now.

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