diff options
Diffstat (limited to 'drivers/gpu/drm/drm_usb.c')
-rw-r--r-- | drivers/gpu/drm/drm_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c index 0f8cb1ae7607..c3406aad2944 100644 --- a/drivers/gpu/drm/drm_usb.c +++ b/drivers/gpu/drm/drm_usb.c | |||
@@ -30,7 +30,7 @@ int drm_get_usb_dev(struct usb_interface *interface, | |||
30 | return 0; | 30 | return 0; |
31 | 31 | ||
32 | err_free: | 32 | err_free: |
33 | drm_dev_free(dev); | 33 | drm_dev_unref(dev); |
34 | return ret; | 34 | return ret; |
35 | 35 | ||
36 | } | 36 | } |