if(!hs_cap) {
if (!hs_cap)
int cpci_led_off(struct slot* slot){	int hs_cap;	u16 hs_csr;	hs_cap = pci_bus_find_capability(slot->bus,					 slot->devfn,					 PCI_CAP_ID_CHSWP);	if(!hs_cap) {		return -ENODEV;	}	if(pci_bus_read_config_word(slot->bus,				     slot->devfn,				     hs_cap + 2,				     &hs_csr)) {		return -ENODEV;	}	if(hs_csr & HS_CSR_LOO) {		hs_csr &= ~HS_CSR_LOO;		if(pci_bus_write_config_word(slot->bus,					      slot->devfn,					      hs_cap + 2,					      hs_csr)) {			err("Could not clear LOO for slot %s",			    slot->hotplug_slot->name);			return -ENODEV;		}	}	return 0;}