Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3b20b3f authored by Harald Judt's avatar Harald Judt Committed by Guenter Roeck
Browse files

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: default avatarHarald Judt <h.judt@gmx.at>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 374d1f98
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)