]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8a200fc57de6e6d92edd0fa2dddbff2a0a826316
treed22300806d57a46def5e079732ca99bfb60f454d
parentc8f0c13d1deb409c58bd359ca39c1450eddb76e6
[media] coda: Call v4l2_device_unregister() from a single location

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>
drivers/media/platform/coda/coda-common.c