PCI hotplug: fix return value of has_foo() functions