projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
550f174
)
drm/qxl: Replace drm_dev_unref with drm_dev_put
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 13 Jul 2018 12:03:18 +0000
(14:03 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 10 Aug 2018 05:57:48 +0000
(07:57 +0200)
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 <tzimmermann@suse.de>
Link:
http://patchwork.freedesktop.org/patch/msgid/20180713120318.32195-1-tzimmermann@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_drv.c
b/drivers/gpu/drm/qxl/qxl_drv.c
index 2445e75cf7ea6664854325a6383fe0e32e2bdd57..86bd42dca09cb24dd6739204d3a7ce6ca5fe6902 100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_drv.c
+++ b/
drivers/gpu/drm/qxl/qxl_drv.c
@@
-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 = {