diff options
author | Thomas Zimmermann <tdz@users.sourceforge.net> | 2018-06-18 14:53:12 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-07-16 18:06:30 +1000 |
commit | 94a0b8634f4ccb0a512702f96df67914b615d556 (patch) | |
tree | 75633077443b8320fe795e969e2c40db22b30797 /drivers/gpu/drm/nouveau | |
parent | 743e0f079a38182cb22e663b34e6a45ad3274b9e (diff) | |
download | linux-94a0b8634f4ccb0a512702f96df67914b615d556.tar.bz2 |
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: Thomas Zimmermann <tdz@users.sourceforge.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_platform.c b/drivers/gpu/drm/nouveau/nouveau_platform.c index 1ada186fab77..039e23548e08 100644 --- a/drivers/gpu/drm/nouveau/nouveau_platform.c +++ b/drivers/gpu/drm/nouveau/nouveau_platform.c @@ -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; } |