upstream: Staging: go7007: fix up some remaining go->dev issues
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 17:29:32 +0000 (09:29 -0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:52:16 +0000 (11:52 +0900)
commit1585278bf4f921f8aec10965880e03949ba1b75a
tree310c00a19e91f0fd5f156646a932d6c1e94b52f1
parent9d4f4d7fa490f04173491c087664c3b609a71507
upstream: Staging: go7007: fix up some remaining go->dev issues

This fixes up the remaining "dev is used before it is set" issues in the
go7007 driver that were originally caused by commit
b6ea5ef80aa7fd6f4b18ff2e4174930e8772e812 but not fixed up by reverting
it due to other patches later on adding these "fixes".

Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/go7007/go7007-usb.c