"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "9f998ad7e92a1653b6b396b1278e75560a8be519"
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>
Loading
Please register or sign in to comment