iio:adc:berlin2-adc: pass up real error code
authorHartmut Knaack <knaack.h@gmx.de>
Mon, 27 Jul 2015 22:38:58 +0000 (00:38 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 2 Aug 2015 18:05:51 +0000 (19:05 +0100)
commit19d566420b8c5a26d4f9666ef665e088173d3df3
tree3bdfca281b8e4dcb81b0a58d1a9a012fbd7c5465
parent5e37c523921480093323c06529ab854f0635c59d
iio:adc:berlin2-adc: pass up real error code

Pass up the real error code returned by platform_get_irq_byname().

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/berlin2-adc.c