Merge tag 'pci-v6.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci
[linux-block.git] / drivers / pci / of.c
index 4c2ef2e28fb5e9030a0e8ed41d2bcd883a00c16c..2c25f4fa0225aeed064b7c103ee0f7c7b801011b 100644 (file)
@@ -465,7 +465,7 @@ static int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *
                return -ENODEV;
 
        /* Local interrupt-map in the device node? Use it! */
-       if (of_get_property(dn, "interrupt-map", NULL)) {
+       if (of_property_present(dn, "interrupt-map")) {
                pin = pci_swizzle_interrupt_pin(pdev, pin);
                ppnode = dn;
        }