projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c34a61b
)
ab8500_fg: Fix copy-paste error
author
Anton Vorontsov
<anton.vorontsov@linaro.org>
Wed, 14 Mar 2012 00:41:37 +0000
(
04:41
+0400)
committer
Anton Vorontsov
<anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:12 +0000
(20:41 +0400)
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>
drivers/power/ab8500_fg.c
patch
|
blob
|
history
diff --git
a/drivers/power/ab8500_fg.c
b/drivers/power/ab8500_fg.c
index b7e12c8af8cd26869a5750e57f6143872a7060ec..0441f9d1b29f3976f228e8dbb92bed2e762667f9 100644
(file)
--- 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,
}
static void ab8500_fg_discharge_state_to(struct ab8500_fg *di,
- enum ab8500_fg_charge_state new_state)
+ enum ab8500_fg_
dis
charge_state new_state)
{
dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n",
di->discharge_state,