From patchwork Fri Nov 16 11:01:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10685905 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61FBF109C for ; Fri, 16 Nov 2018 11:02:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C8502C119 for ; Fri, 16 Nov 2018 11:02:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 401A52D10D; Fri, 16 Nov 2018 11:02:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D11C52C119 for ; Fri, 16 Nov 2018 11:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727539AbeKPVNv (ORCPT ); Fri, 16 Nov 2018 16:13:51 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:43755 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbeKPVNu (ORCPT ); Fri, 16 Nov 2018 16:13:50 -0500 Received: by mail-pg1-f196.google.com with SMTP id n10-v6so10460786pgv.10 for ; Fri, 16 Nov 2018 03:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=OmVH3UHc4jVpPVW6soMiO6W7+f+gJlHLBPjlEn0mL64=; b=NfmqTkykV8or7LF9itF66A4SSLCnZfQEBwB4ANhk+9QwBLM1R3UTvEyGIVssNXEiwF rMbP5tIk6X5TBQUGSvMoK6V2jpqCYLBsN1WH4AdSX/CZYHouqb7u6W0fP+XE5GLS2f0J J9IW6hEzw3HYASHr9ANbXLLpjiJEtDXY+CROo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=OmVH3UHc4jVpPVW6soMiO6W7+f+gJlHLBPjlEn0mL64=; b=lz54uyo4G3ogtYesGbJgAQkfBEtQGtxhw25gmHzSMdl0O1CdeuxYLz8aKzt9f8H48j A97QxVBjwLMv9K+TZjOxRyhmfseYc6OzjHwlyVsW6prRGWl3St1lvuo3x7m+tw32ZDEN zG1kCJe+6YEb9wyV9oTvvlocxq+LtJN/6uKkikfFbP6b+PRtf3X0whkmirr9nWXgXS4b osdpUvkVcyN+4ORkT5OtXC/pLsJ3AxVltAp7pEA2V8dkvdu2FvKywBNcqg9DMvBMQfNK eqcABglo2sifdEdBaFpQT1a3e5QIsuZZ+adF8ITBXS2U+l25QW03u6jOf7sj9CDHsRZN m+Ag== X-Gm-Message-State: AGRZ1gJBoDXcgbwMx5H/RnIQ3+7xKHEJ9daoMhQu/4jtxpWkfftJG088 p3Co4lib7UAIscSAkXCmVcu4/Q== X-Google-Smtp-Source: AJdET5fG7zURzFKKNVWK5RJ2B1oFaNmkCVlIjC5h17TPXlSAYBnRDUKMMrM369hw6Gub2PYvw9/Y9w== X-Received: by 2002:a62:ae12:: with SMTP id q18mr3320720pff.126.1542366119771; Fri, 16 Nov 2018 03:01:59 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 202sm21268106pfy.87.2018.11.16.03.01.55 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Nov 2018 03:01:59 -0800 (PST) From: Baolin Wang To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, yuanjiang.yu@unisoc.com, baolin.wang@linaro.org, broonie@kernel.org, linus.walleij@linaro.org Subject: [PATCH 2/6] power: supply: charger-manager: Fix some misspelled words Date: Fri, 16 Nov 2018 19:01:09 +0800 Message-Id: <24406bab7e6b694c8eeb621c450ea7b039beb1d8.1542362262.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <4ea9eaf85d780afb190cb45da2df8ff5fd86d449.1542362262.git.baolin.wang@linaro.org> References: <4ea9eaf85d780afb190cb45da2df8ff5fd86d449.1542362262.git.baolin.wang@linaro.org> In-Reply-To: <4ea9eaf85d780afb190cb45da2df8ff5fd86d449.1542362262.git.baolin.wang@linaro.org> References: <4ea9eaf85d780afb190cb45da2df8ff5fd86d449.1542362262.git.baolin.wang@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix some misspelled words. Signed-off-by: Baolin Wang --- drivers/power/supply/charger-manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c index a1b420a..bd6c450 100644 --- a/drivers/power/supply/charger-manager.c +++ b/drivers/power/supply/charger-manager.c @@ -363,7 +363,7 @@ static int try_charger_enable(struct charger_manager *cm, bool enable) int err = 0, i; struct charger_desc *desc = cm->desc; - /* Ignore if it's redundent command */ + /* Ignore if it's redundant command */ if (enable == cm->charger_enabled) return 0; @@ -1799,7 +1799,7 @@ static int charger_manager_probe(struct platform_device *pdev) /* * 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_set_wakeup_capable(&pdev->dev, false); @@ -2019,7 +2019,7 @@ static void __exit charger_manager_cleanup(void) * cm_notify_event - charger driver notify Charger Manager of charger event * @psy: pointer to instance of charger's power_supply * @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, char *msg)