From: Fabio Estevam Date: Mon, 17 Feb 2014 22:05:57 +0000 (-0300) Subject: pata_imx: Propagate the real error code on platform_get_irq() failure X-Git-Tag: v3.15-rc1~161^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef9cc31ee39dea369e989de3f7f9e822cc8de62;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed