diff mbox

power: supply: ab8500_charger: fix spelling mistake: "faile" -> "failed"

Message ID 20180430160450.29264-1-colin.king@canonical.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Colin King April 30, 2018, 4:04 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in dev_error message.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/power/supply/ab8500_charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sebastian Reichel May 1, 2018, 11:32 a.m. UTC | #1
Hi,

On Mon, Apr 30, 2018 at 05:04:50PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistake in dev_error message.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/ab8500_charger.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c
> index ba0e97284ae5..98b335042ba6 100644
> --- a/drivers/power/supply/ab8500_charger.c
> +++ b/drivers/power/supply/ab8500_charger.c
> @@ -3066,7 +3066,7 @@ static int ab8500_charger_init_hw_registers(struct ab8500_charger *di)
>  		AB8500_SYS_CTRL2_BLOCK,
>  		AB8500_MAIN_WDOG_CTRL_REG, MAIN_WDOG_ENA);
>  	if (ret) {
> -		dev_err(di->dev, "faile to enable main watchdog\n");
> +		dev_err(di->dev, "failed to enable main watchdog\n");
>  		goto out;
>  	}
>  
> -- 
> 2.17.0
>
diff mbox

Patch

diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c
index ba0e97284ae5..98b335042ba6 100644
--- a/drivers/power/supply/ab8500_charger.c
+++ b/drivers/power/supply/ab8500_charger.c
@@ -3066,7 +3066,7 @@  static int ab8500_charger_init_hw_registers(struct ab8500_charger *di)
 		AB8500_SYS_CTRL2_BLOCK,
 		AB8500_MAIN_WDOG_CTRL_REG, MAIN_WDOG_ENA);
 	if (ret) {
-		dev_err(di->dev, "faile to enable main watchdog\n");
+		dev_err(di->dev, "failed to enable main watchdog\n");
 		goto out;
 	}