usb: dwc3: ep0: simplify dwc3_ep0_handle_feature()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 3 Oct 2016 09:55:29 +0000 (12:55 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:31 +0000 (10:38 +0200)
commit39e07ffb1c3d65c207c69cd7f65766c8e7721eeb
treee4f215759b08ddc3ed7119f22242d6fdb60b8984
parent6d729a55cc0fc9f9a003b61491ee5868c9df5baf
usb: dwc3: ep0: simplify dwc3_ep0_handle_feature()

By extracting smaller functions from
dwc3_ep0_handle_feature(), it becomes far easier to
understand what's going on. Cleanup only, no
functional changes.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/ep0.c