Re: [PATCH] USB: chipidea: correct spelling mistakes in comment

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

 



On Tue, Dec 31, 2013 at 10:27 PM, Rahul Bedarkar
<rahulbedarkar89@xxxxxxxxx> wrote:
>
> Signed-off-by: Rahul Bedarkar <rahulbedarkar89@xxxxxxxxx>
> ---
>  drivers/usb/chipidea/ci_hdrc_pci.c | 2 +-
>  drivers/usb/chipidea/core.c        | 4 ++--
>  drivers/usb/chipidea/udc.c         | 4 ++--
>  3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/usb/chipidea/ci_hdrc_pci.c b/drivers/usb/chipidea/ci_hdrc_pci.c
> index d514332..c63c1c0 100644
> --- a/drivers/usb/chipidea/ci_hdrc_pci.c
> +++ b/drivers/usb/chipidea/ci_hdrc_pci.c
> @@ -134,7 +134,7 @@ static DEFINE_PCI_DEVICE_TABLE(ci_hdrc_pci_id_table) = {
>                 PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xe006),
>                 .driver_data = (kernel_ulong_t)&penwell_pci_platdata,
>         },
> -       { 0 } /* end: all zeroes */
> +       { 0 } /* end: all zeros */
>  };
>  MODULE_DEVICE_TABLE(pci, ci_hdrc_pci_id_table);
>
> diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
> index 6e73f8c..bfd08b6 100644
> --- a/drivers/usb/chipidea/core.c
> +++ b/drivers/usb/chipidea/core.c
> @@ -407,7 +407,7 @@ static int ci_get_platdata(struct device *dev,
>                 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) {
>                         return -EPROBE_DEFER;
>                 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) {
> -                       /* no vbus regualator is needed */
> +                       /* no vbus regulator is needed */
>                         platdata->reg_vbus = NULL;
>                 } else if (IS_ERR(platdata->reg_vbus)) {
>                         dev_err(dev, "Getting regulator error: %ld\n",
> @@ -631,7 +631,7 @@ static int ci_hdrc_probe(struct platform_device *pdev)
>                 } else {
>                         /*
>                          * If the controller is not OTG capable, but support
> -                        * role switch, the defalt role is gadget, and the
> +                        * role switch, the default role is gadget, and the
>                          * user can switch it through debugfs.
>                          */
>                         ci->role = CI_ROLE_GADGET;
> diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
> index 69d20fb..dee5061 100644
> --- a/drivers/usb/chipidea/udc.c
> +++ b/drivers/usb/chipidea/udc.c
> @@ -291,7 +291,7 @@ static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
>   * hw_test_and_clear_intr_active: test & clear active interrupts (execute
>   *                                without interruption)
>   *
> - * This function returns active interrutps
> + * This function returns active interrupt
>   */
>  static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
>  {
> @@ -896,7 +896,7 @@ isr_setup_status_complete(struct usb_ep *ep, struct usb_request *req)
>  }
>
>  /**
> - * isr_setup_status_phase: queues the status phase of a setup transation
> + * isr_setup_status_phase: queues the status phase of a setup transition

I think transation is transaction and not transition. I will resend
this patch with this fix.

Thanks,
Rahul

>   * @ci: ci struct
>   *
>   * This function returns an error code
> --
> 1.8.1.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux