git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b12206e
)
iio: adc: vf610: Propagate the real error when platform_get_irq() fails
author
Fabio Estevam
<fabio.estevam@freescale.com>
Fri, 3 Oct 2014 01:25:22 +0000
(22:25 -0300)
committer
Jonathan Cameron
<jic23@kernel.org>
Wed, 22 Oct 2014 19:28:11 +0000
(20:28 +0100)
There is no need to pass a 'fake' return value when platform_get_irq() fails.
Propagate the real error instead.
While at it, only consider negative numbers returned by platform_get_irq()
as error.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/vf610_adc.c
patch
|
blob
|
history
diff --cc
drivers/iio/adc/vf610_adc.c
Simple merge