Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94a0b863 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Ben Skeggs
Browse files

drm/nouveau: Replace drm_dev_unref with drm_dev_put



This patch unifies the naming of DRM functions for reference counting
of struct drm_device. The resulting code is more aligned with the rest
of the Linux kernel interfaces.

Signed-off-by: default avatarThomas Zimmermann <tdz@users.sourceforge.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 743e0f07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ static int nouveau_platform_probe(struct platform_device *pdev)

	ret = drm_dev_register(drm, 0);
	if (ret < 0) {
		drm_dev_unref(drm);
		drm_dev_put(drm);
		return ret;
	}