imx-drm: ipu-common: Simplify the error path
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jul 2013 21:22:09 +0000 (18:22 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:35:49 +0000 (13:35 -0700)
commitbe798b2b13bca5a1b25b56acec60ec42bcc57c50
tree13a1b1e8c382c1064b05331a864f04046009b053
parent7c3836a48e318ef8676f43af6632db3f89bf8cc1
imx-drm: ipu-common: Simplify the error path

Instead of jumping to goto labels, just return the error code directly.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipu-v3/ipu-common.c