PCI: fix trivial comment for __pci_disable_link_state
PATCH 1/1 PCI: fix trivial comment for __pci_disable_link_state
Fix trivial comments for __pci_disble_link_state
Signed-off-by Yijing Wang <[email protected]>
--- drivers/pci/pcie/aspm.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)
drivers/pci/pcie/aspm.c +6 -4
@@ -714,10 +714,6 @@ void pcie_aspm_powersave_config_link(struct pci_dev *pdev)up_read (&pci_bus_sem); } -/* -* pci_disable_link_state - disable pci device's link state, so the link will -* never enter specific states -*/ static void __pci_disable_link_state (struct pci_dev *pdev,int state,bool sem,bool force) {
@@ -771,6 +767,12 @@ void pci_disable_link_state_locked(struct pci_dev *pdev, int state) }EXPORT_SYMBOL (pci_disable_link_state_locked); +/** +* pci_disable_link_state - disable pci device's link state, so the link will +* never enter specific states +* @pdev: PCI device on the link. +* @state: ASPM link state to disable +*/ void pci_disable_link_state (struct pci_dev *pdev,int state) {__pci_disable_link_state (pdev, state, true, false);
Signature · 1 line
1.7.1
Bjorn Helgaas
maintainerQuoted 6 lines · Yijing Wang
Fix trivial comments for
__pci_disble_link_stateSigned-off-by Yijing Wang <[email protected]>--- drivers/pci/pcie/aspm.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)
Applied (with typo fixes and expanded comment) to pci/misc for v3.11, thanks.
Quoted 32 lines
drivers/pci/pcie/aspm.c +6
-5@@ -714,10 +714,6 @@ void pcie_aspm_powersave_config_link(struct pci_dev *pdev)up_read (&pci_bus_sem); } -/* -* pci_disable_link_state - disable pci device's link state, so the link will -* never enter specific states -*/ static void __pci_disable_link_state (struct pci_dev *pdev,int state,bool sem,bool force) {@@ -771,6 +767,12 @@ void pci_disable_link_state_locked(struct pci_dev *pdev, int state) }EXPORT_SYMBOL (pci_disable_link_state_locked); +/** +* pci_disable_link_state - disable pci device's link state, so the link will +* never enter specific states +* @pdev: PCI device on the link. +* @state: ASPM link state to disable +*/ void pci_disable_link_state (struct pci_dev *pdev,int state) {__pci_disable_link_state (pdev, state, true, false); --1.7.1