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 writes: > > On Tuesday, September 09, 2014 9:14 AM, Rusty Russell wrote: > >> Jingoo Han writes: > >> > Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. > >> > > >> > Signed-off-by: Jingoo Han > >> > >> Th

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

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

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 writes: > > Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. > > > > Signed-off-by: Jingoo Han > > This patch is obviously wrong. It won't compile without > CONFIG_PM_SLEEP. No, there is no compile issue. W

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

2014-09-08 Thread Rusty Russell
Jingoo Han writes: > Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. > > Signed-off-by: Jingoo Han This patch is obviously wrong. It won't compile without CONFIG_PM_SLEEP. Cheers, Rusty. > --- > drivers/virtio/virtio_pci.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 de

[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 --- 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 3d1463c6b120..c5fbdb4023d1 100644