diff options
author | Zqiang <qiang.zhang@windriver.com> | 2020-09-27 16:01:16 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:45 +0300 |
commit | f0c485663d5976acb1cb490981a4763a215df75e (patch) | |
tree | 335d2090384398136f999a5a930ff349a51ee756 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 7f2958d9ad58a41df81a7c1e28dd5ddeeec58890 (diff) |
usb: gadget: uvc: Fix the wrong v4l2_device_unregister call
If an error occurred before calling the 'v4l2_device_register' func,
and then goto error, but no need to call 'v4l2_device_unregister'
func.
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions