/* cpqhp_find_slot - find the struct slot of given device @ctrl: scan lots of this controller @device: the device id to find  */
static struct slot* cpqhp_find_slot(struct controller *ctrl, u8 device)
/* cpqhp_find_slot - find the struct slot of given device @ctrl: scan lots of this controller @device: the device id to find  */
static struct slot* cpqhp_find_slot(struct controller *ctrl, u8 device)
{
	struct slot *slot = ctrl->slot;
	while (slot && (slot->device != device))
		slot = slot->next;
	return slot;
}