[PATCH v2] hwmon: tmp102: add hibernation callbacks

Grygorii Strashko grygorii.strashko at linaro.org
Tue Feb 3 09:59:09 PST 2015


On 3 February 2015 at 19:45, Guenter Roeck <linux at roeck-us.net> wrote:
> 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

-- 
Best regards,
-grygorii



More information about the linux-arm-kernel mailing list