[PATCH] power: supply: ab8500_charger: fix spelling typo

elicec@foxmail.com posted 1 patch 4 years, 5 months ago
drivers/power/supply/ab8500_charger.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] power: supply: ab8500_charger: fix spelling typo
Posted by elicec@foxmail.com 4 years, 5 months ago
From: Hong Peng <elicec@foxmail.com>

fix the comment typo: "interrupts", "structcure"

Signed-off-by: Hong Peng <elicec@foxmail.com>
---
 drivers/power/supply/ab8500_charger.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c
index ce074c018dcb..fcf4ed4e35aa 100644
--- a/drivers/power/supply/ab8500_charger.c
+++ b/drivers/power/supply/ab8500_charger.c
@@ -171,7 +171,7 @@ enum ab8500_usb_state {
 	struct ab8500_charger, ac_chg)
 
 /**
- * struct ab8500_charger_interrupts - ab8500 interupts
+ * struct ab8500_charger_interrupts - ab8500 interrupts
  * @name:	name of the interrupt
  * @isr		function pointer to the isr
  */
@@ -1083,7 +1083,7 @@ static int ab8500_vbus_in_curr_to_regval(struct ab8500_charger *di, int curr_ua)
 
 /**
  * ab8500_charger_get_usb_cur() - get usb current
- * @di:		pointer to the ab8500_charger structre
+ * @di:		pointer to the ab8500_charger structure
  *
  * The usb stack provides the maximum current that can be drawn from
  * the standard usb host. This will be in uA.
-- 
2.17.1

Re: [PATCH] power: supply: ab8500_charger: fix spelling typo
Posted by Sebastian Reichel 4 years, 4 months ago
Hi,

On Wed, Jan 19, 2022 at 11:53:01AM +0800, elicec@foxmail.com wrote:
> From: Hong Peng <elicec@foxmail.com>
> 
> fix the comment typo: "interrupts", "structcure"
> 
> Signed-off-by: Hong Peng <elicec@foxmail.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/ab8500_charger.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c
> index ce074c018dcb..fcf4ed4e35aa 100644
> --- a/drivers/power/supply/ab8500_charger.c
> +++ b/drivers/power/supply/ab8500_charger.c
> @@ -171,7 +171,7 @@ enum ab8500_usb_state {
>  	struct ab8500_charger, ac_chg)
>  
>  /**
> - * struct ab8500_charger_interrupts - ab8500 interupts
> + * struct ab8500_charger_interrupts - ab8500 interrupts
>   * @name:	name of the interrupt
>   * @isr		function pointer to the isr
>   */
> @@ -1083,7 +1083,7 @@ static int ab8500_vbus_in_curr_to_regval(struct ab8500_charger *di, int curr_ua)
>  
>  /**
>   * ab8500_charger_get_usb_cur() - get usb current
> - * @di:		pointer to the ab8500_charger structre
> + * @di:		pointer to the ab8500_charger structure
>   *
>   * The usb stack provides the maximum current that can be drawn from
>   * the standard usb host. This will be in uA.
> -- 
> 2.17.1
>