Commit 0fff22ee authored by Anton Vorontsov's avatar Anton Vorontsov

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: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent c34a61b4
......@@ -1255,7 +1255,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_charge_state new_state)
enum ab8500_fg_discharge_state new_state)
{
dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n",
di->discharge_state,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment