usb: dwc2: host: Split code out to make dwc2_do_reserve()
authorDouglas Anderson <dianders@chromium.org>
Fri, 29 Jan 2016 02:20:06 +0000 (18:20 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:43 +0000 (15:14 +0200)
commit2d3f139810cd5d491d8dc8c3332c9d32b9b8e1f1
treef304aefe7510011ba556f462244a31a446cac15c
parentb951c6c7f875d2c72c6e16a4d5fa810cbb33ae32
usb: dwc2: host: Split code out to make dwc2_do_reserve()

This no-op change splits code out of dwc2_schedule_periodic() into a
dwc2_do_reserve() function.  This makes it a little easier to follow the
logic.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc2/hcd_queue.c