From: Thomas Zimmermann Date: Mon, 18 Jun 2018 13:07:25 +0000 (+0200) Subject: drm/omap: Replace drm_gem_object_{un/reference} with put,get functions X-Git-Tag: v4.20-rc1~81^2~14^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ce11806c0ba279b5893bb9eb1d193e1acbef7b6;p=thirdparty%2Flinux.git drm/omap: Replace drm_gem_object_{un/reference} with put,get functions 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c index ec04a69ade46b..0f8b597ccd106 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c +++ b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c @@ -168,7 +168,7 @@ struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev, * Importing dmabuf exported from out own gem increases * refcount on gem itself instead of f_count of dmabuf. */ - drm_gem_object_reference(obj); + drm_gem_object_get(obj); return obj; } }