V4L/DVB: tm6000: fix: avoid unregister the driver after success
authorStefan Ringel <stefan.ringel@arcor.de>
Fri, 5 Feb 2010 22:57:02 +0000 (19:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:43:49 +0000 (00:43 -0300)
commit80af6bb73e52c614e0571f82e4dd88a6941066a4
treeb1c13e4a65c7574390d7e99a2621fd56e48bfbb8
parent04574a6881cd4b49b49ba95f893520dabe1d76f5
V4L/DVB: tm6000: fix: avoid unregister the driver after success

After successfully running tm6000_init_dev, due to a lack of a return(),
the driver runs the error code, unregistering the device.

Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-cards.c