Re: [PATCH 2/2] net: ti: cpsw: add hibernation callbacks
From: David Miller <davem@davemloft.net>
Date: 2015-03-02 04:27:21
Also in:
linux-omap
From: David Miller <davem@davemloft.net>
Date: 2015-03-02 04:27:21
Also in:
linux-omap
From: <redacted> Date: Fri, 27 Feb 2015 13:19:45 +0200
From: Grygorii Strashko <redacted> Setting a dev_pm_ops suspend/resume pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by using SIMPLE_DEV_PM_OPS, which appropriately assigns the suspend and hibernation handlers and move cpsw_suspend/resume calbacks under CONFIG_PM_SLEEP to avoid build warnings. Signed-off-by: Grygorii Strashko <redacted>
Applied.