mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
[PATCH] pci: cleanup argument comments for pci_{save,restore}_state
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c6e21e1683
commit
5848f23d81
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user