[media] go7007-loader: fix usb_dev leak
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 20 Dec 2013 19:17:32 +0000 (16:17 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 08:28:00 +0000 (06:28 -0200)
commit50c88544d225baadd6de1c4365d4ed16cc942a37
treecb3b749bb728488e50add71004bce48bc8b71df8
parent38121b6ef314e556d3b59acc0c41a4d6f7e597fa
[media] go7007-loader: fix usb_dev leak

There is usb_get_dev() in go7007_loader_probe(),
but there is no usb_put_dev() anywhere.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/go7007/go7007-loader.c