summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-03-29 00:48:50 +0200
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2018-04-25 23:46:24 +0200
commit8c2fac99f242f16b8cfb3924b0db5f50c3b4ba85 (patch)
treec76267d56c6ee3e6e254dc0b1de4c333a12dfd6d /drivers/power
parentpower: supply: simplify getting .drvdata (diff)
downloadlinux-8c2fac99f242f16b8cfb3924b0db5f50c3b4ba85.tar.xz
linux-8c2fac99f242f16b8cfb3924b0db5f50c3b4ba85.zip
power: supply: ab8500_fg: fix spelling mistake: "Disharge" -> "Discharge"
Trivial fix to spelling mistake in dev_dbg message text Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/ab8500_fg.c2
1 files changed, 1 insertions, 1 deletions
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,