Thread (89 messages) 89 messages, 8 authors, 2012-01-31

Re: [PATCH 1/5] bcma: convert suspend/resume to pm_ops

From: Rafał Miłecki <zajec5@gmail.com>
Date: 2012-01-13 10:01:17

W dniu 13 stycznia 2012 10:58 użytkownik Arend van Spriel
[off-list ref] napisał:
On 01/13/2012 09:00 AM, Linus Torvalds wrote:
quoted
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu, 12 Jan 2012 22:47:01 -0800

.. and avoid doing th eunnecessary PCI operations - the PCI layer will do them for us.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 drivers/bcma/host_pci.c |   38 +++++++++++++-------------------------
 1 files changed, 13 insertions(+), 25 deletions(-)
diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
index 443b83a2fd7a..3aee641c9b7b 100644
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -235,38 +235,27 @@ static void bcma_host_pci_remove(struct pci_dev *dev)
 }

 #ifdef CONFIG_PM
-static int bcma_host_pci_suspend(struct pci_dev *dev, pm_message_t state)
+static int bcma_suspend(struct device *dev)
All functions in host_pci.c start with bcma_host_pci_ prefix. Can we
stick to that convention?
/me agrees
Would be nice

-- 
Rafał
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help