usb: chipidea: ci_hdrc_imx: Fix a typo ("regualator")

Message ID 20221104095838.2132945-1-j.neuschaefer@gmx.net
State New
Headers
Series usb: chipidea: ci_hdrc_imx: Fix a typo ("regualator") |

Commit Message

Jonathan Neuschäfer Nov. 4, 2022, 9:58 a.m. UTC
  Change "regualator" to "regulator" in this comment.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/usb/chipidea/ci_hdrc_imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.35.1
  

Comments

Mukesh Ojha Nov. 4, 2022, 1:43 p.m. UTC | #1
Hi,

On 11/4/2022 3:28 PM, Jonathan Neuschäfer wrote:
> Change "regualator" to "regulator" in this comment.
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>

Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>

-Mukesh
> ---
>   drivers/usb/chipidea/ci_hdrc_imx.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
> index 9ffcecd3058c1..1d6ee1d894f01 100644
> --- a/drivers/usb/chipidea/ci_hdrc_imx.c
> +++ b/drivers/usb/chipidea/ci_hdrc_imx.c
> @@ -355,7 +355,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
>   		data->hsic_pad_regulator =
>   				devm_regulator_get_optional(dev, "hsic");
>   		if (PTR_ERR(data->hsic_pad_regulator) == -ENODEV) {
> -			/* no pad regualator is needed */
> +			/* no pad regulator is needed */
>   			data->hsic_pad_regulator = NULL;
>   		} else if (IS_ERR(data->hsic_pad_regulator))
>   			return dev_err_probe(dev, PTR_ERR(data->hsic_pad_regulator),
> --
> 2.35.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
  

Patch

diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
index 9ffcecd3058c1..1d6ee1d894f01 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.c
+++ b/drivers/usb/chipidea/ci_hdrc_imx.c
@@ -355,7 +355,7 @@  static int ci_hdrc_imx_probe(struct platform_device *pdev)
 		data->hsic_pad_regulator =
 				devm_regulator_get_optional(dev, "hsic");
 		if (PTR_ERR(data->hsic_pad_regulator) == -ENODEV) {
-			/* no pad regualator is needed */
+			/* no pad regulator is needed */
 			data->hsic_pad_regulator = NULL;
 		} else if (IS_ERR(data->hsic_pad_regulator))
 			return dev_err_probe(dev, PTR_ERR(data->hsic_pad_regulator),