/* Returns: NULL if no quirk found, struct hid_blacklist * if found.  */
static struct hid_blacklist* usbhid_exists_dquirk(const u16 idVendor, const u16 idProduct)
/* Returns: NULL if no quirk found, struct hid_blacklist * if found.  */
static struct hid_blacklist* usbhid_exists_dquirk(const u16 idVendor, const u16 idProduct)
{
	struct quirks_list_struct *q;
	struct hid_blacklist *bl_entry = NULL;
	list_for_each_entry(q, &dquirks_list, node) {
		if (q->hid_bl_item.idVendor == idVendor &&
				q->hid_bl_item.idProduct == idProduct) {
			bl_entry = &q->hid_bl_item;
			break;
		}
	}
	if (bl_entry != NULL)
		dbg_hid("Found dynamic quirk 0x%x for USB HID vendor 0x%hx prod 0x%hx\n",
				bl_entry->quirks, bl_entry->idVendor,
				bl_entry->idProduct);
	return bl_entry;
}