Skip to content

Commit

Permalink
ab8500_fg: Fix copy-paste error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov committed Mar 26, 2012
1 parent c34a61b commit 0fff22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/ab8500_fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0fff22e

Please sign in to comment.