Re: [PATCH] pinctrl-adi2: Use a signed return type for adi_gpio_irq_startup()

From: Dan Carpenter
Date: Sat Dec 19 2015 - 15:12:39 EST


This introduces a compile warning. These functions are supposed to
return 1 if there is an IRQ pending. Change the -EINVAL to 0.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/