iio: mxs-lradc: Propagate the real error code on platform_get_irq() failure
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 14 Feb 2014 03:28:00 +0000 (03:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 15 Feb 2014 12:32:35 +0000 (12:32 +0000)
commit9610e08e97370ca7780bea977b03355fa0261635
tree52782b948f7883eef78caf675cd4f55cf40e345d
parent49d916ec2a62be865c727da0413b05b9e2bcbd65
iio: mxs-lradc: 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: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c