summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-05-16 10:52:58 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-20 12:32:36 +0300
commit51f5d49ad6f011ee380b866ea617fd90584189a2 (patch)
tree12a149b73d2606574fbb52a5e0110aa6ceb3cfe9 /drivers/usb/dwc3/core.h
parentc499ff71ff2a281366c6ec7a904c547d806cbcd1 (diff)
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>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index e01f6371d118..211729519eb4 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -836,9 +836,6 @@ struct dwc3 {
enum usb_dr_mode dr_mode;
- /* used for suspend/resume */
- u32 gctl;
-
u32 fladj;
u32 nr_scratch;
u32 u1u2;