diff options
author | Thomas Zimmermann <tdz@users.sourceforge.net> | 2018-06-18 09:07:26 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-10-02 02:36:56 -0400 |
commit | e64d0229340dff8746a1b55e0bcf0dbac6cb5874 (patch) | |
tree | ee0f368a95b46e3a4879482c2bea56ca56959791 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
parent | 3ce11806c0ba279b5893bb9eb1d193e1acbef7b6 (diff) |
drm/omap: Replace drm_gem_object_unreference_unlocked with put function
This patch unifies the naming of DRM functions for reference counting
of struct drm_gem_object. 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index b445309b0143..aee99194499f 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c | |||
@@ -150,7 +150,7 @@ static int omap_fbdev_create(struct drm_fb_helper *helper, | |||
150 | /* note: if fb creation failed, we can't rely on fb destroy | 150 | /* note: if fb creation failed, we can't rely on fb destroy |
151 | * to unref the bo: | 151 | * to unref the bo: |
152 | */ | 152 | */ |
153 | drm_gem_object_unreference_unlocked(fbdev->bo); | 153 | drm_gem_object_put_unlocked(fbdev->bo); |
154 | ret = PTR_ERR(fb); | 154 | ret = PTR_ERR(fb); |
155 | goto fail; | 155 | goto fail; |
156 | } | 156 | } |