[PATCH] ata: Don't use NO_IRQ in pata_of_platform driver

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Dec 6 22:34:58 EST 2011


> can we sinply introduce a macro irq_is_valid

See the 2005, 2006 and 2008 discussion.

    if (!dev->irq)

is the proper test.

The <= is just a temporary thing while ARM gets its publically visible
house in order so it can be done without breakage.

Alan


More information about the devicetree-discuss mailing list