提交 af48f7d7 编写于 作者: T Thomas Zimmermann 提交者: Greg Kroah-Hartman

drm/udl: Replace drm_dev_unref with drm_dev_put

commit ac3b35f11a06964f5fe7f6ea9a190a28a7994704 upstream.

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: NThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: NSean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180926120212.25359-1-tzimmermann@suse.deSigned-off-by: NRoss Zwisler <zwisler@google.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
上级 cfd99ecc
...@@ -95,7 +95,7 @@ static int udl_usb_probe(struct usb_interface *interface, ...@@ -95,7 +95,7 @@ static int udl_usb_probe(struct usb_interface *interface,
return 0; return 0;
err_free: err_free:
drm_dev_unref(dev); drm_dev_put(dev);
return r; return r;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册