aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm
diff options
context:
space:
mode:
authorThomas Zimmermann <tdz@users.sourceforge.net>2018-06-18 09:07:27 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-10-02 02:36:56 -0400
commit08bafffe472cffb1eb9032b83aaef8560103ea3e (patch)
tree22ffcc11984f0ff97232d7bcfc3aff602f9b87ed /drivers/gpu/drm/omapdrm
parente64d0229340dff8746a1b55e0bcf0dbac6cb5874 (diff)
drm/omap: 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index f14d02ca968c..5e67d58cbc28 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -614,7 +614,7 @@ err_gem_deinit:
614 omap_disconnect_pipelines(ddev); 614 omap_disconnect_pipelines(ddev);
615err_crtc_uninit: 615err_crtc_uninit:
616 omap_crtc_pre_uninit(priv); 616 omap_crtc_pre_uninit(priv);
617 drm_dev_unref(ddev); 617 drm_dev_put(ddev);
618 return ret; 618 return ret;
619} 619}
620 620
@@ -643,7 +643,7 @@ static void omapdrm_cleanup(struct omap_drm_private *priv)
643 omap_disconnect_pipelines(ddev); 643 omap_disconnect_pipelines(ddev);
644 omap_crtc_pre_uninit(priv); 644 omap_crtc_pre_uninit(priv);
645 645
646 drm_dev_unref(ddev); 646 drm_dev_put(ddev);
647} 647}
648 648
649static int pdev_probe(struct platform_device *pdev) 649static int pdev_probe(struct platform_device *pdev)