On Mon, Oct 5, 2015 at 1:03 PM, Adam Thomson
<[email protected]> wrote:
> + /* Register IRQ */
> + irq = platform_get_irq_byname(pdev, "FG");
> + if (irq < 0) {
> + dev_err(dev, "Failed to get IRQ FG: %d\n", irq);
You need to do "ret = irq" here. Otherwise you will return success in irq_fail.
> + goto irq_fail;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/