usb: dwc2: Fix sizeof in kzalloc
authorJohn Youn <John.Youn@synopsys.com>
Wed, 18 Jan 2017 04:32:41 +0000 (20:32 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:21 +0000 (11:04 +0200)
commitec33efe28f9f87e51cc79ce060ae0101eedd5a19
tree1700ea16878652b7c8639dc682ad8de8ef46836b
parent1a2e91091330570655f2cd16fb3c624783387d8c
usb: dwc2: Fix sizeof in kzalloc

Take the sizeof '*req' instead of 'struct dwc2_hsotg_req'.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c