]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
charger-manager: Fix struct charger_desc's misleading comment
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 04:36:05 +0000 (21:36 -0700)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 04:49:35 +0000 (21:49 -0700)
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>
include/linux/power/charger-manager.h

index 7d7b90fb7b4b4f9f000f4977ba4705645f992144..b542270affc1a37863783eeccd957d4925ac18c5 100644 (file)
@@ -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.