Re: [PATCH] PCI: fix trivial comment for __pci_disable_link_state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 28, 2013 at 2:03 AM, Yijing Wang <wangyijing@xxxxxxxxxx> wrote:
> Fix trivial comments for __pci_disble_link_state
>
> Signed-off-by: Yijing Wang <wangyijing@xxxxxxxxxx>
> ---
>  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.

> diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
> index faa83b6..c7fd56b 100644
> --- a/drivers/pci/pcie/aspm.c
> +++ b/drivers/pci/pcie/aspm.c
> @@ -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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux