[media] coda: Call v4l2_device_unregister() from a single location
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 4 Oct 2014 19:40:50 +0000 (16:40 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 19:54:56 +0000 (17:54 -0200)
Instead of calling v4l2_device_unregister() in multiple locations within the
error paths, let's call it from a single location to make the error handling
simpler.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

No differences found