Re: [PATCH v2] hwmon: tmp102: add hibernation callbacks

2015-02-03 Thread Guenter Roeck
On Tue, Feb 03, 2015 at 05:01:58PM +0200, grygorii.stras...@linaro.org wrote: > From: Grygorii Strashko > > 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, whic

[PATCH v2] hwmon: tmp102: add hibernation callbacks

2015-02-03 Thread grygorii.strashko
From: Grygorii Strashko 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 mp102_suspend/tmp102