diff mbox

PCI/trivial: Fix comment typo for pci_add_cap_save_buffer()

Message ID 1375362327-25404-1-git-send-email-wangyijing@huawei.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Yijing Wang Aug. 1, 2013, 1:05 p.m. UTC
Fix trivial comment typo for pci_add_cap_save_buffer().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
 drivers/pci/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Bjorn Helgaas Aug. 1, 2013, 5:04 p.m. UTC | #1
On Thu, Aug 1, 2013 at 7:05 AM, Yijing Wang <wangyijing@huawei.com> wrote:
> Fix trivial comment typo for pci_add_cap_save_buffer().
>
> Signed-off-by: Yijing Wang <wangyijing@huawei.com>

Applied to pci/misc for v3.12, thanks!

> ---
>  drivers/pci/pci.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
> index a599a6b..a8d5fd0 100644
> --- a/drivers/pci/pci.c
> +++ b/drivers/pci/pci.c
> @@ -1992,7 +1992,7 @@ static void pci_add_saved_cap(struct pci_dev *pci_dev,
>  }
>
>  /**
> - * pci_add_save_buffer - allocate buffer for saving given capability registers
> + * pci_add_cap_save_buffer - allocate buffer for saving given capability registers
>   * @dev: the PCI device
>   * @cap: the capability to allocate the buffer for
>   * @size: requested size of the buffer
> --
> 1.7.1
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index a599a6b..a8d5fd0 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1992,7 +1992,7 @@  static void pci_add_saved_cap(struct pci_dev *pci_dev,
 }
 
 /**
- * pci_add_save_buffer - allocate buffer for saving given capability registers
+ * pci_add_cap_save_buffer - allocate buffer for saving given capability registers
  * @dev: the PCI device
  * @cap: the capability to allocate the buffer for
  * @size: requested size of the buffer