PCI: mvebu: Use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS for mvebu_pcie_pm_ops
authorJisheng Zhang <jszhang@marvell.com>
Wed, 16 Mar 2016 09:59:41 +0000 (17:59 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 Apr 2016 16:48:42 +0000 (11:48 -0500)
commitdfc6535a8401b8fd15b18e2a5b8256600dd7e6b6
tree814cedeebf099fcd422f16882b40d947b4708a79
parent6e9a426d7964703098bde5752ae5d062a596ca99
PCI: mvebu: Use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS for mvebu_pcie_pm_ops

Use the SET_NOIRQ_SYSTEM_SLEEP_PM_OPS helper macro for mvebu_pcie_pm_ops.
The macro also sets up freeze_noirq, thaw_noirq and poweroff_noirq,
restore_noirq accordingly.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pci-mvebu.c