/* Find a virtual wire in the array placed in the host data. */
static int emul_host_find_index(struct espi_host_emul_data *data, enum espi_vwire_signal vw)
/* Find a virtual wire in the array placed in the host data. */
static int emul_host_find_index(struct espi_host_emul_data *data, enum espi_vwire_signal vw)
{
	int idx;
	for (idx = 0; idx < NUMBER_OF_VWIRES; idx++) {
		if (data->vw_state[idx].sig == vw) {
			return idx;
		}
	}
	return -1;
}