Fabio Estevam 3ef9cc31ee 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>
2014-02-18 17:39:54 -05:00
..
2013-10-15 08:47:00 -04:00
2013-07-26 08:57:56 -04:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2013-06-02 22:22:03 -07:00
2008-01-23 05:24:15 -05:00
2013-06-02 22:22:03 -07:00
2007-07-02 10:17:42 -04:00