/* usbhid_quirks_init: apply USB HID quirks specified at module load time  */
int usbhid_quirks_init(char **quirks_param)
/* usbhid_quirks_init: apply USB HID quirks specified at module load time  */
int usbhid_quirks_init(char **quirks_param)
{
	u16 idVendor, idProduct;
	u32 quirks;
	int n = 0, m;
	for (; n < MAX_USBHID_BOOT_QUIRKS && quirks_param[n]; n++) {
		m = sscanf(quirks_param[n], "0x%hx:0x%hx:0x%x",
				&idVendor, &idProduct, &quirks);
		if (m != 3 ||
				usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) {
			printk(KERN_WARNING
					"Could not parse HID quirk module param %s\n",
					quirks_param[n]);
		}
	}
	return 0;
}