diff options
author | 2014-02-17 19:05:57 -0300 | |
---|---|---|
committer | 2014-02-18 17:39:54 -0500 | |
commit | 3ef9cc31ee39dea369e989de3f7f9e822cc8de62 (patch) | |
tree | 6891bfa6604da1c29d7639546e3e028da8b40185 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pata_imx: Use devm_ioremap_resource() to simplify code (diff) | |
download | wireguard-linux-3ef9cc31ee39dea369e989de3f7f9e822cc8de62.tar.xz wireguard-linux-3ef9cc31ee39dea369e989de3f7f9e822cc8de62.zip |
pata_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.
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions