From: Silvan Jegen Date: Mon, 23 Mar 2015 16:25:53 +0000 (-0300) Subject: [media] mantis: fix error handling X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~381 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2624ff4bf46869df66148b2e1e675981565742e;p=pandora-kernel.git [media] mantis: fix error handling Remove dead code, make goto label names more expressive and add a label in order to call mantis_dvb_exit if mantis_uart_init fails. Also make sure that mantis_pci_exit is called if we fail the mantis_stream_control call and that we call mantis_i2c_exit if mantis_get_mac fails. [mchehab@osg.samsung.com: fix merge conflict] Signed-off-by: Silvan Jegen Reviewed-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed