From da9f7e27c005456f279bbde58f599a99bf2c23a5 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Thu, 1 Aug 2013 16:18:45 +0200 Subject: [PATCH] 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 Signed-off-by: Guenter Roeck --- drivers/hwmon/w83627ehf.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.5