virtio-pci: switch to PM ops macro to initialise PM functions
authorAmit Shah <amit.shah@redhat.com>
Thu, 29 Mar 2012 07:28:05 +0000 (12:28 +0530)
committerAmit Shah <amit.shah@redhat.com>
Sat, 31 Mar 2012 02:39:51 +0000 (07:39 +0530)
commitf878d0be229ab129bc4b224191f217106a4b0bc1
tree8cf8de049cc777be1e55a2d868289b45a1e8b9cf
parent04c2322bee841121cfdd7f284e1d4274e9e60e33
virtio-pci: switch to PM ops macro to initialise PM functions

Use the SET_SYSTEM_SLEEP_PM_OPS macro to initialise the suspend/resume
functions in the new PM API.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
drivers/virtio/virtio_pci.c