power: supply: improve function-level documentation
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 1 Oct 2016 19:46:25 +0000 (21:46 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 19 Oct 2016 03:06:22 +0000 (05:06 +0200)
commit32c52eff6a27798706487e042fae7bac6dd73576
tree4b9cade97f0e84cddaf5f4555752908ce3686303
parent29676833df1d9207cb665fe9869f6778a96045b9
power: supply: improve function-level documentation

In drivers/power/supply/ab8500_fg.c, fix two typos and adjust the function
name in two cases to correspond to the names of the defined functions.

In drivers/power/supply/power_supply_core.c, change two variable names to
the names of the corresponding parameters.

Issue detected using Coccinelle (http://coccinelle.lip6.fr/)

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/ab8500_fg.c
drivers/power/supply/power_supply_core.c