/* Return value: ptr to chip information on success / NULL on failure  */
static const struct ipr_chip_t* __devinit ipr_get_chip_info(const struct pci_device_id *dev_id)
/* Return value: ptr to chip information on success / NULL on failure  */
static const struct ipr_chip_t* __devinit ipr_get_chip_info(const struct pci_device_id *dev_id)
{
	int i;
	for (i = 0; i < ARRAY_SIZE(ipr_chip); i++)
		if (ipr_chip[i].vendor == dev_id->vendor &&
		    ipr_chip[i].device == dev_id->device)
			return &ipr_chip[i];
	return NULL;
}