diff options
author | Thomas Zimmermann <tdz@users.sourceforge.net> | 2018-06-18 16:17:37 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-07-02 05:40:44 +0300 |
commit | fa7743b141678116c19b89c5492b330671a51e02 (patch) | |
tree | b30e0efbf535a1ca86ee2483df1e2a7109a2a7b3 /drivers/gpu/drm/exynos | |
parent | e94595b0f59c26581f6ae8a3972b99f56a415b76 (diff) | |
download | linux-fa7743b141678116c19b89c5492b330671a51e02.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c index 38a2a7f1204b..7098c6d35266 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c @@ -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; } |