virtio: pm: use CONFIG_PM_SLEEP instead of CONFIG_PM
authorAaron Lu <aaron.lu@intel.com>
Mon, 16 Sep 2013 23:55:23 +0000 (09:25 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 23 Sep 2013 06:15:58 +0000 (15:45 +0930)
commit891070003999e7ac8881bba6f8242615382742eb
treeb9688861a4446b3fb58fc0c49a0816424b7617a8
parentd8524ae9d6f492a9c6db9f4d89c5f9b8782fa2d5
virtio: pm: use CONFIG_PM_SLEEP instead of CONFIG_PM

The freeze and restore functions defined in virtio drivers are used
for suspend and hibernate, so CONFIG_PM_SLEEP is more appropriate than
CONFIG_PM. This patch replace all CONFIG_PM with CONFIG_PM_SLEEP for
virtio drivers that implement freeze and restore callbacks.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c
drivers/char/hw_random/virtio-rng.c
drivers/char/virtio_console.c
drivers/net/virtio_net.c
drivers/scsi/virtio_scsi.c
drivers/virtio/virtio_balloon.c