drm/virtio: Replace drm_dev_unref with drm_dev_put
Subsystems (3)
Thomas Zimmermann
maintainerPATCH 1/1 drm/virtio: 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 <[email protected]>
--- drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/virtio/virtgpu_drm_bus.c +1 -1
@@ -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; }
Signature · 6 lines
2.18.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel