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

From: Guenter Roeck
Date: Tue Feb 03 2015 - 12:46:54 EST


On Tue, Feb 03, 2015 at 05:01:58PM +0200, grygorii.strashko@xxxxxxxxxx wrote:
> From: Grygorii Strashko <Grygorii.Strashko@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Applied to -next.

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/