Commit 75ea8ca8 authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Sebastian Reichel

power: charger-manager: comment spelling fixes

By accident I stumbled over a few misspelled words in the
charger-manager header file which this patch fixes. Namely:
- Extcon rather than Exton
- constraint rather than constratint
- existence rather than existance
- difference rather than diffential

While at it also add a missing space before a closing comment star
forward-slash.
Signed-off-by: default avatarMarcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent c72b7bf8
...@@ -65,7 +65,7 @@ struct charger_cable { ...@@ -65,7 +65,7 @@ struct charger_cable {
const char *extcon_name; const char *extcon_name;
const char *name; const char *name;
/* The charger-manager use Exton framework*/ /* The charger-manager use Extcon framework */
struct extcon_specific_cable_nb extcon_dev; struct extcon_specific_cable_nb extcon_dev;
struct work_struct wq; struct work_struct wq;
struct notifier_block nb; struct notifier_block nb;
...@@ -94,7 +94,7 @@ struct charger_cable { ...@@ -94,7 +94,7 @@ struct charger_cable {
* the charger will be maintained with disabled state. * the charger will be maintained with disabled state.
* @cables: * @cables:
* the array of charger cables to enable/disable charger * the array of charger cables to enable/disable charger
* and set current limit according to constratint data of * and set current limit according to constraint data of
* struct charger_cable if only charger cable included * struct charger_cable if only charger cable included
* in the array of charger cables is attached/detached. * in the array of charger cables is attached/detached.
* @num_cables: the number of charger cables. * @num_cables: the number of charger cables.
...@@ -148,7 +148,7 @@ struct charger_regulator { ...@@ -148,7 +148,7 @@ struct charger_regulator {
* @polling_interval_ms: interval in millisecond at which * @polling_interval_ms: interval in millisecond at which
* charger manager will monitor battery health * charger manager will monitor battery health
* @battery_present: * @battery_present:
* Specify where information for existance of battery can be obtained * Specify where information for existence of battery can be obtained
* @psy_charger_stat: the names of power-supply for chargers * @psy_charger_stat: the names of power-supply for chargers
* @num_charger_regulator: the number of entries in charger_regulators * @num_charger_regulator: the number of entries in charger_regulators
* @charger_regulators: array of charger regulators * @charger_regulators: array of charger regulators
...@@ -156,7 +156,7 @@ struct charger_regulator { ...@@ -156,7 +156,7 @@ struct charger_regulator {
* @thermal_zone : the name of thermal zone for battery * @thermal_zone : the name of thermal zone for battery
* @temp_min : Minimum battery temperature for charging. * @temp_min : Minimum battery temperature for charging.
* @temp_max : Maximum battery temperature for charging. * @temp_max : Maximum battery temperature for charging.
* @temp_diff : Temperature diffential to restart charging. * @temp_diff : Temperature difference to restart charging.
* @measure_battery_temp: * @measure_battery_temp:
* true: measure battery temperature * true: measure battery temperature
* false: measure ambient temperature * false: measure ambient temperature
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment