* [patch 2.6.13-rc1] pci: cleanup argument comments for pci_{save,restore}_state
@ 2005-07-01 18:07 John W. Linville
0 siblings, 0 replies; only message in thread
From: John W. Linville @ 2005-07-01 18:07 UTC (permalink / raw)
To: linux-pci; +Cc: Greg KH, linux-kernel
The buffer arguments have been removed from pci_{save,restore}_state.
The comment blocks for those functions should reflect that.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
drivers/pci/pci.c | 6 ------
1 files changed, 6 deletions(-)
--- ./drivers/pci/pci.c.orig 2005-06-27 17:20:48.000000000 -0400
+++ ./drivers/pci/pci.c 2005-06-27 17:21:13.000000000 -0400
@@ -334,10 +334,6 @@ EXPORT_SYMBOL(pci_choose_state);
/**
* pci_save_state - save the PCI configuration space of a device before suspending
* @dev: - PCI device that we're dealing with
- * @buffer: - buffer to hold config space context
- *
- * @buffer must be large enough to hold the entire PCI 2.2 config space
- * (>= 64 bytes).
*/
int
pci_save_state(struct pci_dev *dev)
@@ -352,8 +348,6 @@ pci_save_state(struct pci_dev *dev)
/**
* pci_restore_state - Restore the saved state of a PCI device
* @dev: - PCI device that we're dealing with
- * @buffer: - saved PCI config space
- *
*/
int
pci_restore_state(struct pci_dev *dev)
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-01 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 18:07 [patch 2.6.13-rc1] pci: cleanup argument comments for pci_{save,restore}_state John W. Linville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox