diff options
author | Harald Judt <h.judt@gmx.at> | 2013-08-01 10:18:45 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-08-12 01:10:40 -0400 |
commit | e3b20b3f586604cde718a609b39577086351ed49 (patch) | |
tree | 2cfb5c4f7389b8d0166430b17a99f02eb31a4315 /drivers/hwmon | |
parent | 374d1f98353983f90aca3cecc6882e45755a0838 (diff) |
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/w83627ehf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index 286ca7bae97c..23ff210513d3 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c | |||
@@ -2694,6 +2694,8 @@ static int w83627ehf_resume(struct device *dev) | |||
2694 | static const struct dev_pm_ops w83627ehf_dev_pm_ops = { | 2694 | static const struct dev_pm_ops w83627ehf_dev_pm_ops = { |
2695 | .suspend = w83627ehf_suspend, | 2695 | .suspend = w83627ehf_suspend, |
2696 | .resume = w83627ehf_resume, | 2696 | .resume = w83627ehf_resume, |
2697 | .freeze = w83627ehf_suspend, | ||
2698 | .restore = w83627ehf_resume, | ||
2697 | }; | 2699 | }; |
2698 | 2700 | ||
2699 | #define W83627EHF_DEV_PM_OPS (&w83627ehf_dev_pm_ops) | 2701 | #define W83627EHF_DEV_PM_OPS (&w83627ehf_dev_pm_ops) |