This patch unifies the naming of DRM functions for reference counting
of struct drm_framebuffer. The resulting code is more aligned with the
rest of the Linux kernel interfaces.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
        struct mdp5_plane_state *mdp5_state;
 
        if (plane->state && plane->state->fb)
-               drm_framebuffer_unreference(plane->state->fb);
+               drm_framebuffer_put(plane->state->fb);
 
        kfree(to_mdp5_plane_state(plane->state));
        mdp5_state = kzalloc(sizeof(*mdp5_state), GFP_KERNEL);
        struct mdp5_plane_state *pstate = to_mdp5_plane_state(state);
 
        if (state->fb)
-               drm_framebuffer_unreference(state->fb);
+               drm_framebuffer_put(state->fb);
 
        kfree(pstate);
 }