spi: spi-mxs: Propagate the real error code on platform_get_irq() failure
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 14 Feb 2014 03:19:21 +0000 (01:19 -0200)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 20:41:14 +0000 (20:41 +0000)
commitcdd1945bde1e03149899a5d65c54fc0f163d24ac
tree4ad6eb508ce7d49c8b475bda455b0f9964797046
parent9a7da6cc1d952b70284e34a594486045eadba8d5
spi: spi-mxs: Propagate the real error code on platform_get_irq() failure

No need to return a 'fake' return value on platform_get_irq() failure.

Just return the error code itself instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-mxs.c