usb: dwc3: core: simplify suspend/resume operations
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 16 May 2016 07:52:58 +0000 (10:52 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:36 +0000 (12:32 +0300)
commit51f5d49ad6f011ee380b866ea617fd90584189a2
tree12a149b73d2606574fbb52a5e0110aa6ceb3cfe9
parentc499ff71ff2a281366c6ec7a904c547d806cbcd1
usb: dwc3: core: simplify suspend/resume operations

now that we have re-factored dwc3_core_init() and
dwc3_core_exit() we can use them for suspend/resume
operations.

This will help us avoid some common mistakes when
patching code when we have duplicated pieces of code
doing the same thing.

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