usb: gadget: f_hid: use alloc_ep_req()
authorFelipe F. Tonello <eu@felipetonello.com>
Tue, 23 Aug 2016 17:24:51 +0000 (18:24 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:20 +0000 (12:13 +0300)
commitba1582f22231821c57534e87b077d84adbc15dbd
tree4b024bd080407575265f76ed9590c4b20d1c59f4
parent14794d7133d0f16b4901207a489f04e4e700166a
usb: gadget: f_hid: use alloc_ep_req()

Use gadget's framework allocation function instead of directly calling
usb_ep_alloc_request().

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_hid.c