mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
gpio: nca9539: suspend and resume using SET_LATE_SYSTEM_SLEEP_PM_OPS
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com> Change-Id: I5dc1d2ad9b80d5aa5245866759902328d805f531
This commit is contained in:
@@ -298,10 +298,7 @@ static int nca9539_resume(struct device *dev)
|
||||
}
|
||||
|
||||
static const struct dev_pm_ops nca9539_dev_pm_ops = {
|
||||
.suspend = nca9539_suspend,
|
||||
.resume = nca9539_resume,
|
||||
.freeze = nca9539_suspend,
|
||||
.restore = nca9539_resume,
|
||||
SET_LATE_SYSTEM_SLEEP_PM_OPS(nca9539_suspend, nca9539_resume)
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user