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:
b314fc7
)
pata_imx: Propagate the real error code on platform_get_irq() failure
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 17 Feb 2014 22:05:57 +0000
(19:05 -0300)
committer
Tejun Heo
<tj@kernel.org>
Tue, 18 Feb 2014 22:39:54 +0000
(17:39 -0500)
No need to return a 'fake' return value on platform_get_irq() failure.
Just return the error code itself instead.
Also, change the error condition to irq < 0, so that only negative values
are treated as errors.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_imx.c
patch
|
blob
|
history
diff --cc
drivers/ata/pata_imx.c
Simple merge