Input: turbografx - fix reference counting
authorNamhyung Kim <namhyung@gmail.com>
Wed, 1 Dec 2010 17:19:45 +0000 (09:19 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Dec 2010 17:20:34 +0000 (09:20 -0800)
commit8ed9e0e1b602a0bcdc3bef52ec05fdab5b484341
treee49ad1d6cbcfec5570b6de4332f4a4387d37b266
parent3bfa321e662edf90fb8123a02c987c2965fa50bb
Input: turbografx - fix reference counting

The ref-count of parport gained from parport_find_number()
was not released in normal path.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/turbografx.c