From: Harald Judt Date: Tue, 30 Jul 2013 17:50:16 +0000 (+0200) Subject: hwmon: (nct6775) Add support for hibernate X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=374d1f98353983f90aca3cecc6882e45755a0838;p=linux-beck.git hwmon: (nct6775) 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 --- diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index a0ace075e918..6eb03ce2cff4 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c @@ -3997,6 +3997,8 @@ static int nct6775_resume(struct device *dev) static const struct dev_pm_ops nct6775_dev_pm_ops = { .suspend = nct6775_suspend, .resume = nct6775_resume, + .freeze = nct6775_suspend, + .restore = nct6775_resume, }; #define NCT6775_DEV_PM_OPS (&nct6775_dev_pm_ops)