staging: dwc2: use dwc2_hcd_get_frame_number where possible
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 29 Apr 2013 19:40:23 +0000 (19:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 22:23:54 +0000 (15:23 -0700)
commit37e1dcc25fca3f0f48da0e28fcc1c717d5fc0f91
tree34b528da490934690b748d066439d7b8c72337cc
parent929aea09da6c61ba7c92b0bdedb6f10d0ba588bd
staging: dwc2: use dwc2_hcd_get_frame_number where possible

Before, there were two places that manually read the FRNUM registers,
while there is a function to do this.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/core.c
drivers/staging/dwc2/hcd_intr.c