aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/power/charger-manager.h
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-22 21:36:05 -0700
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-22 21:49:35 -0700
commitc6b2744c5dd098e8bca2515e91219cf0206290c5 (patch)
treea4a1e2f844f2b80adf2b4a10e03b4df6d92ee8e9 /include/linux/power/charger-manager.h
parentcharger-manager: Use replacement variable to check state of battery (diff)
downloadlinux-dev-c6b2744c5dd098e8bca2515e91219cf0206290c5.tar.xz
linux-dev-c6b2744c5dd098e8bca2515e91219cf0206290c5.zip
charger-manager: Fix struct charger_desc's misleading comment
The comment says that charger_regulators is an array of regulator_bulk_data, which is not true, since it's actually a pointer to 'struct charger_regulator'. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'include/linux/power/charger-manager.h')
-rw-r--r--include/linux/power/charger-manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/power/charger-manager.h b/include/linux/power/charger-manager.h
index 7d7b90fb7b4b..b542270affc1 100644
--- a/include/linux/power/charger-manager.h
+++ b/include/linux/power/charger-manager.h
@@ -148,7 +148,7 @@ struct charger_regulator {
* Specify where information for existance of battery can be obtained
* @psy_charger_stat: the names of power-supply for chargers
* @num_charger_regulator: the number of entries in charger_regulators
- * @charger_regulators: array of regulator_bulk_data for chargers
+ * @charger_regulators: array of charger regulators
* @psy_fuel_gauge: the name of power-supply for fuel gauge
* @temperature_out_of_range:
* Determine whether the status is overheat or cold or normal.