Commit e3b20b3f586604cde718a609b39577086351ed49
Committed by
Guenter Roeck
1 parent
374d1f9835
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
hwmon: (w83627ehf) Add support for hibernate
Hibernation uses its own set of callback functions, even if the code is the same as the code used for suspend/restore. Signed-off-by: Harald Judt <h.judt@gmx.at> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
drivers/hwmon/w83627ehf.c
... | ... | @@ -2694,6 +2694,8 @@ |
2694 | 2694 | static const struct dev_pm_ops w83627ehf_dev_pm_ops = { |
2695 | 2695 | .suspend = w83627ehf_suspend, |
2696 | 2696 | .resume = w83627ehf_resume, |
2697 | + .freeze = w83627ehf_suspend, | |
2698 | + .restore = w83627ehf_resume, | |
2697 | 2699 | }; |
2698 | 2700 | |
2699 | 2701 | #define W83627EHF_DEV_PM_OPS (&w83627ehf_dev_pm_ops) |