V4L/DVB: IR/mceusb: unify and simplify different gen device init
authorJarod Wilson <jarod@redhat.com>
Sun, 4 Jul 2010 01:42:14 +0000 (22:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:34:49 +0000 (15:34 -0300)
commitb48592e496e55e4e3e6e7f27d5ba3a229a1db7a6
treeb007fb6e65213c251e3d8d3250d2c430feabe435
parent95c5d605ca6fd6ab5ab0f6d097ff97d5aa2f9235
V4L/DVB: IR/mceusb: unify and simplify different gen device init

Started out as an effort to try to tackle the last remaining issue I'm
having with this damned pinnacle device getting wedged the first time
its plugged in after an indeterminate length of not being plugged in.
Didn't get that solved yet, but did streamline the init code a bit more
and remove some superfluous gunk. Nukes a completely unneeded call to
usb_device_init() and several lines of overly complex crap in the gen1
device init path.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/mceusb.c