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: 151330 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp278840ljp; Fri, 16 Nov 2018 03:02:03 -0800 (PST) X-Google-Smtp-Source: AJdET5dqZRBBKu+oEqqqbBhMTzCF6qD5owRvWKxnh4f/xlQFTkwz1JQqpmKZQ7zNu4SOfqX4bOXe X-Received: by 2002:a63:525e:: with SMTP id s30-v6mr9568956pgl.436.1542366123183; Fri, 16 Nov 2018 03:02:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542366123; cv=none; d=google.com; s=arc-20160816; b=v/qRHhdviSVUwEOb9dMvIyPMt+v0Cjf3Hh0HHKkb58opJ5GLOAmx0wKX7EK029nG6F Mb8EarL2IKPFSBllg7T2cz0KgaAMSrSQmLKwkllQI6mfBMuOSKxihPFp7QjBAjWTUk61 jG8/C34mWX8TcHV0nAJRC7WDgsQoAxIsZX6TrkXWdgP62uKJOtlKrfq8Xq45aRZKi+Qj ynU4prXeTCuHpdPtmeZJP7dQgDbUSoAbsj+ivvYEbD9P7oTM4UuoArtLo420vcDSBC+n 3wd8F6dZ7ukUJV1FCEr4FpjRUBwvIeYWqwOhBWXqUz1LIpuDM1m41LV/MMxLVazur+FA D1Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=OmVH3UHc4jVpPVW6soMiO6W7+f+gJlHLBPjlEn0mL64=; b=tSLuZdd3f/RUNtuFWh0X813ewijHqLljZnRgs7Mu7fkCPdLGZzzYKFm8fbd+ggQIVd 5h2MKw0CnmLLtyI852n6g/4qvS8eN5bYrZFpxOvFJERKxguSriZaTWcY1veawMng+u2f oS74CkXIk7NvCGNRfiAFGD9+daKW9FRS+ZasWpvqGmFLCx9cb5bPCCXL6dpXQ+GLjxs1 G9MSZcVTPdvonWg/pO2ZWdDODqHI32UqXBPZX5GGlZZOb7Z8RO096YsR/FfhYUNTDMP3 gQQsBdL9xD1E/jYTcjBJr8LraPVv/69v3tcjlvzBN9O7NIXU7cCF5je8pqhgNvUgadbM npKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NfmqTkyk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c76si18072978pga.70.2018.11.16.03.02.02; Fri, 16 Nov 2018 03:02:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NfmqTkyk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389508AbeKPVNv (ORCPT + 32 others); Fri, 16 Nov 2018 16:13:51 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40302 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389430AbeKPVNv (ORCPT ); Fri, 16 Nov 2018 16:13:51 -0500 Received: by mail-pf1-f196.google.com with SMTP id x2-v6so11245552pfm.7 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=uUqdX/AeQBAxDtqAhARMTEIbznCxNx4MTRjoatoE388OSYxlDCdezyX3orKX7QFBDE K5qH8oPkdptMsWxMZgohV2Rek0lyx2E2wNv/Ru+A+FmsCu5mWZKK5ymkn6fBFMXgY+YK FrD3Q4NWIMRSo2OpC29nktgAGlvPnpNDNIO1q3FOQD2l9xPgWXPGSxUYdPtFTZUeqEGU nfkmh7KQOesAPofjekZwELUlgKrA+d+QhjOwGkyn4nBvekZs5pidf8jyUyMmKamP56qC elKwt4QWK3Jng5dVa5e/Wdy/u5rWCK/ZdxZch7tkDCwbETTB7qc8jNNSH+NLbdVr9RXs nZ4A== X-Gm-Message-State: AGRZ1gIWc3hwDIOJ4zGqIgnDJtW1Dijeq2ck3BGFyfVmGIiOloNua1sm PfGUwh5iYX1d747Kjabd7y9jTg== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some misspelled words. Signed-off-by: Baolin Wang --- drivers/power/supply/charger-manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 1.7.9.5 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)