From: Wonhong Kwon Date: Fri, 24 Oct 2014 04:45:47 +0000 (+0900) Subject: usb: ehci/ohci-platform: use SIMPLE_DEV_PM_OPS to support hibernation X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e4ccd9ee2508d04a39fa27de9eb7bf65bad7594;p=pandora-kernel.git 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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed