/* Returns: pointer if quirk found, or NULL if no quirks found.  */
static const struct hid_blacklist* usbhid_exists_squirk(const u16 idVendor, const u16 idProduct)
/* Returns: pointer if quirk found, or NULL if no quirks found.  */
static const struct hid_blacklist* usbhid_exists_squirk(const u16 idVendor, const u16 idProduct)
{
	const struct hid_blacklist *bl_entry = NULL;
	int n = 0;
	for (; hid_blacklist[n].idVendor; n++)
		if (hid_blacklist[n].idVendor == idVendor &&
				hid_blacklist[n].idProduct == idProduct)
			bl_entry = &hid_blacklist[n];
	if (bl_entry != NULL)
		dbg_hid("Found squirk 0x%x for USB HID vendor 0x%hx prod 0x%hx\n",
				bl_entry->quirks, bl_entry->idVendor, 
				bl_entry->idProduct);
	return bl_entry;
}