diff mbox

power: supply: ab8500_fg: fix spelling mistake: "Disharge" -> "Discharge"

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

Commit Message

Colin King March 28, 2018, 10:48 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in dev_dbg message text

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

Comments

Sebastian Reichel April 25, 2018, 9:46 p.m. UTC | #1
Hi,

On Wed, Mar 28, 2018 at 11:48:50PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in dev_dbg message text
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/ab8500_fg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c
> index c569f82a0071..993898d1712f 100644
> --- a/drivers/power/supply/ab8500_fg.c
> +++ b/drivers/power/supply/ab8500_fg.c
> @@ -1408,7 +1408,7 @@ static void ab8500_fg_charge_state_to(struct ab8500_fg *di,
>  static void ab8500_fg_discharge_state_to(struct ab8500_fg *di,
>  	enum ab8500_fg_discharge_state new_state)
>  {
> -	dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n",
> +	dev_dbg(di->dev, "Discharge state from %d [%s] to %d [%s]\n",
>  		di->discharge_state,
>  		discharge_state[di->discharge_state],
>  		new_state,
> -- 
> 2.15.1
>
diff mbox

Patch

diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c
index c569f82a0071..993898d1712f 100644
--- a/drivers/power/supply/ab8500_fg.c
+++ b/drivers/power/supply/ab8500_fg.c
@@ -1408,7 +1408,7 @@  static void ab8500_fg_charge_state_to(struct ab8500_fg *di,
 static void ab8500_fg_discharge_state_to(struct ab8500_fg *di,
 	enum ab8500_fg_discharge_state new_state)
 {
-	dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n",
+	dev_dbg(di->dev, "Discharge state from %d [%s] to %d [%s]\n",
 		di->discharge_state,
 		discharge_state[di->discharge_state],
 		new_state,