Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f066f795 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Ben Skeggs
Browse files

drm/nouveau: Replace drm_framebuffer_{un/reference} with put, get functions



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: default avatarThomas Zimmermann <tdz@users.sourceforge.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent c9fb2cc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@ nouveau_fbcon_destroy(struct drm_device *dev, struct nouveau_fbdev *fbcon)
		nouveau_vma_del(&nouveau_fb->vma);
		nouveau_bo_unmap(nouveau_fb->nvbo);
		nouveau_bo_unpin(nouveau_fb->nvbo);
		drm_framebuffer_unreference(&nouveau_fb->base);
		drm_framebuffer_put(&nouveau_fb->base);
	}

	return 0;