drm/modes: drop __drm_framebuffer_unregister.
authorDave Airlie <airlied@redhat.com>
Fri, 15 Apr 2016 05:10:34 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Apr 2016 00:28:06 +0000 (10:28 +1000)
commit19ab3f8bb4edbc576d4a2cc94a80d0e28296b649
tree0625ca4ba4c7f60ec5e8879153ce09865751e1a4
parentf55f1f91f567ac32cbf04fbdd455fc54661504fb
drm/modes: drop __drm_framebuffer_unregister.

Just use the generic function.

The main side effect of this is that the fb->base.id
is now protected by the idr mutex as well.

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