On Mon, Nov 3, 2014 at 2:15 PM, Lee Jones <lee.jo...@linaro.org> wrote:

>         /* Clean up the mailbox interrupts after pre-kernel code. */
> @@ -3179,15 +3179,14 @@ static int db8500_prcmu_probe(struct platform_device 
> *pdev)
>         irq = platform_get_irq(pdev, 0);
>         if (irq <= 0) {

Shouldn't this be if (irq < 0) then?

>                 dev_err(&pdev->dev, "no prcmu irq provided\n");
> -               return -ENOENT;
> +               return irq;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to