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

Commit c381f229 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Rafael J. Wysocki
Browse files

ARM: omap-device: use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS



Use recently introduced macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS to
set up PM callbacks. This also fixes missed assignment of
.poweroff_noirq() callback.

Signed-off-by: default avatarGrygorii Strashko <Grygorii.Strashko@linaro.org>
Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarKevin Hilman <khilman@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 258d2a10
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -688,11 +688,8 @@ struct dev_pm_domain omap_device_pm_domain = {
		SET_RUNTIME_PM_OPS(_od_runtime_suspend, _od_runtime_resume,
				   NULL)
		USE_PLATFORM_PM_SLEEP_OPS
		.suspend_noirq = _od_suspend_noirq,
		.resume_noirq = _od_resume_noirq,
		.freeze_noirq = _od_suspend_noirq,
		.thaw_noirq = _od_resume_noirq,
		.restore_noirq = _od_resume_noirq,
		SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(_od_suspend_noirq,
					      _od_resume_noirq)
	}
};