spi: spi-imx: Propagate the real error code on platform_get_irq() failure
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 14 Feb 2014 03:19:22 +0000 (01:19 -0200)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 20:41:37 +0000 (20:41 +0000)
commit82106e0e39c455957888dd44d43790306b30f73e
treead3aaca99794c5a131b885f12c236f2357171d65
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: spi-imx: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-imx.c