summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-23 08:36:05 +0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-23 08:49:35 +0400
commitc6b2744c5dd098e8bca2515e91219cf0206290c5 (patch)
treea4a1e2f844f2b80adf2b4a10e03b4df6d92ee8e9
parentfd65ee5f1c21af9ff9f113842d513ca50749ad68 (diff)
downloadlinux-c6b2744c5dd098e8bca2515e91219cf0206290c5.tar.xz
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>
-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.