Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Marcel Ziswiler and committed by
Sebastian Reichel
75ea8ca8 c72b7bf8

+4 -4
+4 -4
include/linux/power/charger-manager.h
··· 65 65 const char *extcon_name; 66 66 const char *name; 67 67 68 - /* The charger-manager use Exton framework*/ 68 + /* The charger-manager use Extcon framework */ 69 69 struct extcon_specific_cable_nb extcon_dev; 70 70 struct work_struct wq; 71 71 struct notifier_block nb; ··· 94 94 * the charger will be maintained with disabled state. 95 95 * @cables: 96 96 * the array of charger cables to enable/disable charger 97 - * and set current limit according to constratint data of 97 + * and set current limit according to constraint data of 98 98 * struct charger_cable if only charger cable included 99 99 * in the array of charger cables is attached/detached. 100 100 * @num_cables: the number of charger cables. ··· 148 148 * @polling_interval_ms: interval in millisecond at which 149 149 * charger manager will monitor battery health 150 150 * @battery_present: 151 - * Specify where information for existance of battery can be obtained 151 + * Specify where information for existence of battery can be obtained 152 152 * @psy_charger_stat: the names of power-supply for chargers 153 153 * @num_charger_regulator: the number of entries in charger_regulators 154 154 * @charger_regulators: array of charger regulators ··· 156 156 * @thermal_zone : the name of thermal zone for battery 157 157 * @temp_min : Minimum battery temperature for charging. 158 158 * @temp_max : Maximum battery temperature for charging. 159 - * @temp_diff : Temperature diffential to restart charging. 159 + * @temp_diff : Temperature difference to restart charging. 160 160 * @measure_battery_temp: 161 161 * true: measure battery temperature 162 162 * false: measure ambient temperature