diff options
author | Wonhong Kwon <wonhongkwon@gmail.com> | 2014-10-24 08:45:47 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-04 02:38:17 +0300 |
commit | 5e4ccd9ee2508d04a39fa27de9eb7bf65bad7594 (patch) | |
tree | e9d499feb97308959792dc86f0560326e541320a /mm/cma.c | |
parent | a57971bfa1e9aa9b42ed72df027d5b985b31b56b (diff) | |
download | linux-5e4ccd9ee2508d04a39fa27de9eb7bf65bad7594.tar.xz |
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 <wonhong.kwon@lge.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions