On Mon, Jul 29, 2013 at 7:24 AM, Alexander Holler <[email protected]> wrote:

> Maybe it might be worth to suggest using/returning NO_IRQ in (new) patches
> instead of zero. That would make it very clear that the value 0 isn't to be
> used later.

Using NO_IRQ is also discouraged, and this is because we should
use the if (!irq) design pattern and not if (irq == NO_IRQ).

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to