drm/mode: move framebuffer_free up above framebuffer_init
authorDave Airlie <airlied@redhat.com>
Fri, 15 Apr 2016 05:10:33 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Apr 2016 00:26:42 +0000 (10:26 +1000)
commitf55f1f91f567ac32cbf04fbdd455fc54661504fb
treea34fa9afd174606b88dbfb9e58a274edbb351082
parent7c8f6d2577c7565f67ba3f6b9b76f7422710d66e
drm/mode: move framebuffer_free up above framebuffer_init

A later patch will use it in framebuffer_init, and I want
to keep the diff cleaner.

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