diff options
author | Harald Judt <h.judt@gmx.at> | 2013-08-01 16:18:45 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-08-11 22:10:40 -0700 |
commit | e3b20b3f586604cde718a609b39577086351ed49 (patch) | |
tree | 2cfb5c4f7389b8d0166430b17a99f02eb31a4315 /drivers/hwmon/w83627ehf.c | |
parent | 374d1f98353983f90aca3cecc6882e45755a0838 (diff) | |
download | linux-e3b20b3f586604cde718a609b39577086351ed49.tar.gz linux-e3b20b3f586604cde718a609b39577086351ed49.tar.bz2 linux-e3b20b3f586604cde718a609b39577086351ed49.zip |
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/w83627ehf.c')
-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) static const struct dev_pm_ops w83627ehf_dev_pm_ops = { .suspend = w83627ehf_suspend, .resume = w83627ehf_resume, + .freeze = w83627ehf_suspend, + .restore = w83627ehf_resume, }; #define W83627EHF_DEV_PM_OPS (&w83627ehf_dev_pm_ops) |