Re: [PATCH] virtio: pci: Use SIMPLE_DEV_PM_OPS macro

2014-10-05 Thread Michael S. Tsirkin
On Thu, Sep 18, 2014 at 02:53:10PM +0930, Rusty Russell wrote: Jingoo Han jg1@samsung.com writes: On Tuesday, September 09, 2014 9:14 AM, Rusty Russell wrote: Jingoo Han jg1@samsung.com writes: Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by:

Re: [PATCH] virtio: pci: Use SIMPLE_DEV_PM_OPS macro

2014-09-23 Thread Rusty Russell
Jingoo Han jg1@samsung.com writes: On Tuesday, September 09, 2014 9:14 AM, Rusty Russell wrote: Jingoo Han jg1@samsung.com writes: Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han jg1@samsung.com This patch is obviously wrong. It

Re: [PATCH] virtio: pci: Use SIMPLE_DEV_PM_OPS macro

2014-09-17 Thread Jingoo Han
On Tuesday, September 09, 2014 9:14 AM, Rusty Russell wrote: Jingoo Han jg1@samsung.com writes: Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han jg1@samsung.com This patch is obviously wrong. It won't compile without CONFIG_PM_SLEEP. No,

Re: [PATCH] virtio: pci: Use SIMPLE_DEV_PM_OPS macro

2014-09-08 Thread Rusty Russell
Jingoo Han jg1@samsung.com writes: Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han jg1@samsung.com This patch is obviously wrong. It won't compile without CONFIG_PM_SLEEP. Cheers, Rusty. --- drivers/virtio/virtio_pci.c | 9 +++-- 1

[PATCH] virtio: pci: Use SIMPLE_DEV_PM_OPS macro

2014-09-04 Thread Jingoo Han
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/virtio/virtio_pci.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index