Skip to content

Commit

Permalink
charger-manager: Fix struct charger_desc's misleading comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov committed Aug 23, 2012
1 parent fd65ee5 commit c6b2744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/power/charger-manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c6b2744

Please sign in to comment.