UPSTREAM: usb: dwc2: Move register save and restore functions
authorJohn Youn <johnyoun@synopsys.com>
Wed, 24 Feb 2016 03:54:57 +0000 (19:54 -0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 10:48:27 +0000 (18:48 +0800)
commit7c95a780b8df3e3e750fabb3192da636580a72d1
tree9869628f41d11350297e4743e814e917f0d8c8b5
parent60e94e78377e55bc5283030193bca359be160191
UPSTREAM: usb: dwc2: Move register save and restore functions

Move the register save and restore functions into the host and gadget
specific files.

Change-Id: If9a11b19ee459d0cd1cd560f0302c83518b3f6af
Tested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 58e52ff6a6c3ce964c71b2dd9f06be426f993524)
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/hcd.c