mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
374d1f9835
commit
e3b20b3f58
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue