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