OpenCloudOS-Kernel/drivers/input/tablet
Alexey Khoroshilov 1f906f8376 Input: gtco - fix usb_dev leak
There is usb_get_dev() in gtco_probe(), but there is no usb_put_dev()
anywhere in the driver.

As pointed out by Dmitry Torokhov:
The lifetime of gtco structure is already directly tied to lifetime of
usb_dev: when destroying usb_dev driver core will call remove() function
of currently bound driver (in our case gtco) which will destroy gtco
memory. Taking additional reference is not needed here.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-01-27 22:34:49 -08:00
..
Kconfig Merge branch 'next' into for-linus 2012-03-27 00:27:10 -07:00
Makefile Input: add support for Hanwang tablets 2010-09-01 23:26:18 -07:00
acecad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
aiptek.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
gtco.c Input: gtco - fix usb_dev leak 2014-01-27 22:34:49 -08:00
hanwang.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
kbtab.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
wacom.h Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
wacom_sys.c Input: wacom - add reporting of SW_MUTE_DEVICE events 2013-12-16 02:12:32 -08:00
wacom_wac.c Input: wacom - add support for DTU-1031 2014-01-20 20:36:57 -08:00
wacom_wac.h Input: wacom - add support for DTU-1031 2014-01-20 20:36:57 -08:00