diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-03-13 20:41:37 -0400 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-03-26 12:41:12 -0400 |
commit | 0fff22ee792aee95d6945f4ed1b10aeaea806bc8 (patch) | |
tree | b9c0e73319ff7946f1af0f1b7150242ec99566f8 /drivers/power | |
parent | c34a61b4e7a9966edc0e87d7b0a12fbb8cc58168 (diff) |
ab8500_fg: Fix copy-paste error
ab8500_fg_discharge_state_to() function should accept
'enum ab8500_fg_discharge_state' argument, not
'enum ab8500_fg_charge_state'.
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/ab8500_fg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index b7e12c8af8cd..0441f9d1b29f 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c | |||
@@ -1255,7 +1255,7 @@ static void ab8500_fg_charge_state_to(struct ab8500_fg *di, | |||
1255 | } | 1255 | } |
1256 | 1256 | ||
1257 | static void ab8500_fg_discharge_state_to(struct ab8500_fg *di, | 1257 | static void ab8500_fg_discharge_state_to(struct ab8500_fg *di, |
1258 | enum ab8500_fg_charge_state new_state) | 1258 | enum ab8500_fg_discharge_state new_state) |
1259 | { | 1259 | { |
1260 | dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n", | 1260 | dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n", |
1261 | di->discharge_state, | 1261 | di->discharge_state, |