PCI hotplug: fix get_##name return value problem