]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: PCI: use positive logic to simplify code
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 04:31:06 +0000 (21:31 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 02:34:53 +0000 (21:34 -0500)
commit3b1ea18d3b3542b55861d7f968ded705e3bc2aa6
tree6e0b4198e2e6b7d5552a93c30daacba2e7f3d3ea
parentbeba8a643d7f774cf27c3c92a51b99cebf787415
ACPI: PCI: use positive logic to simplify code

This doesn't change anything functionally; it just changes tests
so we test for success instead of failure.  This makes the code
read more easily and allows us to remove the "!entry" in the while
loop condition.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_irq.c