diff options
author | Wonhong Kwon <[email protected]> | 2014-10-24 13:45:47 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-11-03 15:38:17 -0800 |
commit | 5e4ccd9ee2508d04a39fa27de9eb7bf65bad7594 (patch) | |
tree | e9d499feb97308959792dc86f0560326e541320a /drivers/usb/class/usbtmc.c | |
parent | a57971bfa1e9aa9b42ed72df027d5b985b31b56b (diff) |
usb: ehci/ohci-platform: use SIMPLE_DEV_PM_OPS to support hibernation
ehci/ohci-platform just define .suspend/.resume functions for dev_pm_ops,
but in order to support both STR(suspend-to-ram) and hibernation, other
callbacks such as .freeze/.thaw are also required.
Registering all required callbacks for both STR and hibernation can
be done by SIMPLE_DEV_PM_OPS macro function.
Signed-off-by: Wonhong Kwon <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/usbtmc.c')
0 files changed, 0 insertions, 0 deletions