commit | b7bd660a51f0cef91d8d544192a5b96c8854e775 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Sat Oct 04 16:40:50 2014 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Mon Nov 03 17:54:56 2014 -0200 |
tree | d22300806d57a46def5e079732ca99bfb60f454d | |
parent | ed3da2bf2e1800e7c6e31e7d31917dacce599458 [diff] |
[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>