[PATCH v2] hwmon: tmp102: add hibernation callbacks

Guenter Roeck linux at roeck-us.net
Tue Feb 3 09:45:19 PST 2015


On Tue, Feb 03, 2015 at 05:01:58PM +0200, grygorii.strashko at linaro.org wrote:
> From: Grygorii Strashko <Grygorii.Strashko at linaro.org>
> 
> 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_resume under CONFIG_PM_SLEEP to avoid
> build warnings.
> 
> Signed-off-by: Grygorii Strashko <Grygorii.Strashko at linaro.org>

Applied to -next.

Thanks,
Guenter



More information about the linux-arm-kernel mailing list