Skip to content

Commit

Permalink
hwmon: (w83627ehf) Add support for hibernate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harald Judt authored and Guenter Roeck committed Aug 12, 2013
1 parent 374d1f9 commit e3b20b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hwmon/w83627ehf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3b20b3

Please sign in to comment.