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:
66e0c8a
)
drm/virtio: Replace drm_dev_unref with drm_dev_put
author
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 16 Jul 2018 07:49:40 +0000
(09:49 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 10 Aug 2018 05:57:49 +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/20180716074940.8691-1-tzimmermann@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drm_bus.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/virtio/virtgpu_drm_bus.c
b/drivers/gpu/drm/virtio/virtgpu_drm_bus.c
index 7df8d0c9026acb81e6bf25bf7bc19c2ba0911cc8..094b876f6da6cb48221e84e39a7439e29c8ed8ed 100644
(file)
--- a/
drivers/gpu/drm/virtio/virtgpu_drm_bus.c
+++ b/
drivers/gpu/drm/virtio/virtgpu_drm_bus.c
@@
-85,6
+85,6
@@
int drm_virtio_init(struct drm_driver *driver, struct virtio_device *vdev)
return 0;
err_free:
- drm_dev_
unref
(dev);
+ drm_dev_
put
(dev);
return ret;
}