Commit 8c13b6f1 authored by Baolin Wang's avatar Baolin Wang Committed by Sebastian Reichel

power: supply: charger-manager: Fix some misspelled words

Fix some misspelled words.
Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 1dd35099
...@@ -363,7 +363,7 @@ static int try_charger_enable(struct charger_manager *cm, bool enable) ...@@ -363,7 +363,7 @@ static int try_charger_enable(struct charger_manager *cm, bool enable)
int err = 0, i; int err = 0, i;
struct charger_desc *desc = cm->desc; struct charger_desc *desc = cm->desc;
/* Ignore if it's redundent command */ /* Ignore if it's redundant command */
if (enable == cm->charger_enabled) if (enable == cm->charger_enabled)
return 0; return 0;
...@@ -1799,7 +1799,7 @@ static int charger_manager_probe(struct platform_device *pdev) ...@@ -1799,7 +1799,7 @@ static int charger_manager_probe(struct platform_device *pdev)
/* /*
* Charger-manager is capable of waking up the systme from sleep * Charger-manager is capable of waking up the systme from sleep
* when event is happend through cm_notify_event() * when event is happened through cm_notify_event()
*/ */
device_init_wakeup(&pdev->dev, true); device_init_wakeup(&pdev->dev, true);
device_set_wakeup_capable(&pdev->dev, false); device_set_wakeup_capable(&pdev->dev, false);
...@@ -2019,7 +2019,7 @@ module_exit(charger_manager_cleanup); ...@@ -2019,7 +2019,7 @@ module_exit(charger_manager_cleanup);
* cm_notify_event - charger driver notify Charger Manager of charger event * cm_notify_event - charger driver notify Charger Manager of charger event
* @psy: pointer to instance of charger's power_supply * @psy: pointer to instance of charger's power_supply
* @type: type of charger event * @type: type of charger event
* @msg: optional message passed to uevent_notify fuction * @msg: optional message passed to uevent_notify function
*/ */
void cm_notify_event(struct power_supply *psy, enum cm_event_types type, void cm_notify_event(struct power_supply *psy, enum cm_event_types type,
char *msg) char *msg)
......
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