usb: dwc3-generic: factorize code
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 11 Sep 2019 09:33:49 +0000 (11:33 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 24 Oct 2019 09:28:17 +0000 (11:28 +0200)
commit1af590df164f88fffb6484842eec8c8d8e500e70
treea5bdda427bf9659b37a287fd60aa2a5ac7a63048
parent3a38a0adb95bfebbbd39b2bb164f04bdeb10bc03
usb: dwc3-generic: factorize code

Factor code for re-usability.
This is another step toward adding host support.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/usb/dwc3/dwc3-generic.c