linux/drivers/usb/dwc3
Jingoo Han fb74d282d2 usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used
when the CONFIG_PM_SLEEP is enabled. Unnecessary CONFIG_PM ifdefs
are removed.

drivers/usb/dwc3/dwc3-pci.c:215:12: warning: 'dwc3_pci_suspend' defined but not used [-Wunused-function]
drivers/usb/dwc3/dwc3-pci.c:224:12: warning: 'dwc3_pci_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-08-02 11:19:49 +03:00
..
core.c usb: dwc3: use dev_get_platdata() 2013-07-31 16:52:02 +03:00
core.h usb: dwc3: fix typo in comment of dwc3_ep 2013-07-29 13:57:01 +03:00
debug.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-omap.c usb: dwc3: omap: switch over to devm_ioremap_resource() 2013-07-29 13:56:53 +03:00
dwc3-pci.c usb: dwc3: pci: add CONFIG_PM_SLEEP to suspend/resume functions 2013-08-02 11:19:49 +03:00
ep0.c usb: dwc3: ep0: don't change to configured state too early 2013-07-29 13:57:04 +03:00
gadget.c usb: dwc3: gadget: introduce dwc3_process_event_buf 2013-07-29 13:57:01 +03:00
gadget.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
host.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
io.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
Kconfig usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
Makefile usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00