mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 00:34:52 +00:00
drm/exynos: 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: Thomas Zimmermann <tdz@users.sourceforge.net> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
e94595b0f5
commit
fa7743b141
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ static void exynos_drm_plane_reset(struct drm_plane *plane)
|
|||
if (plane->state) {
|
||||
exynos_state = to_exynos_plane_state(plane->state);
|
||||
if (exynos_state->base.fb)
|
||||
drm_framebuffer_unreference(exynos_state->base.fb);
|
||||
drm_framebuffer_put(exynos_state->base.fb);
|
||||
kfree(exynos_state);
|
||||
plane->state = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue