Commit b0d146ac authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Gerd Hoffmann
Browse files

drm/qxl: 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 <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20180713120318.32195-1-tzimmermann@suse.de


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 550f1744
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ qxl_pci_remove(struct pci_dev *pdev)

	dev->dev_private = NULL;
	kfree(qdev);
	drm_dev_unref(dev);
	drm_dev_put(dev);
}

static const struct file_operations qxl_fops = {