Grygorii Strashko dd378b1bca hwmon: (tmp102) add hibernation callbacks
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@linaro.org>
[groeck: Declare tmp102_dev_pm_ops as static variable]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2015-02-03 12:17:12 -08:00
..
2014-01-29 20:40:08 +01:00
2014-08-04 07:01:35 -07:00
2014-07-23 15:01:44 -07:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-02-02 08:19:58 -08:00
2014-08-04 07:01:36 -07:00
2013-03-18 21:19:49 +01:00
2014-08-05 19:44:42 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-01-29 20:40:08 +01:00
2013-08-11 22:10:39 -07:00
2014-12-14 16:10:09 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00