summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Zimmermann <tdz@users.sourceforge.net>2018-06-18 13:01:52 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-06-28 19:09:34 +0200
commit55f95c2723daedb44b0552c6ab10401e0bd32a22 (patch)
tree4ab98101af69e5b5712643f0f6eaf352518dee9a /drivers
parent0f67706e6600cab897e1806133eea7f5000a2789 (diff)
downloadlinux-stable-55f95c2723daedb44b0552c6ab10401e0bd32a22.tar.gz
linux-stable-55f95c2723daedb44b0552c6ab10401e0bd32a22.tar.bz2
linux-stable-55f95c2723daedb44b0552c6ab10401e0bd32a22.zip
drm/i915: Replace __drm_gem_object_unreference with __drm_gem_object_put
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: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20180618110154.30462-4-tdz@users.sourceforge.net
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_object.h b/drivers/gpu/drm/i915/i915_gem_object.h
index da6e849f41a4..0042496216fe 100644
--- a/drivers/gpu/drm/i915/i915_gem_object.h
+++ b/drivers/gpu/drm/i915/i915_gem_object.h
@@ -345,7 +345,7 @@ __attribute__((nonnull))
static inline void
i915_gem_object_put(struct drm_i915_gem_object *obj)
{
- __drm_gem_object_unreference(&obj->base);
+ __drm_gem_object_put(&obj->base);
}
__deprecated