Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp87602pxk; Wed, 23 Sep 2020 23:39:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQJi2vjcr6TqN6bBaalEPkFmNaTHkeAfWZ3zBw1EQWtcmFxuoU0Y+1ocg1SwH2ja0a/oEE X-Received: by 2002:aa7:db47:: with SMTP id n7mr2982025edt.315.1600929591072; Wed, 23 Sep 2020 23:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600929591; cv=none; d=google.com; s=arc-20160816; b=KMETT+yEdL+mPbwD8Tysej2IFMBoEFhUOEf2vcyDnAdlD/RGZBw/LMv9Ke7dHuGBcu qkGpzIQSVm6FK8p+UGh0i+3h1nGKQnn6podhPCvqyKZp6a8gsrh7w6zFgIQ/UYuJY6Wz xZBPqGeX+sDOvSPK6aO7gOC4bWa8iTQ3zaSNtc4R0zwlmehgCLPad+bkSFEZw6VKnZti l/W8fHUd9+FoWDQ1pHCRxguYVKHk3TuenErouoyXjmq4X97tZoD6b/zqCa7TeUCyq04F kIhNxRy7koyV9MGXKnqAOY5SLbqFEqxJmroIzuObB6eRjhQ2N3bE4vrjCpgTJTu9h6AZ sYbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=f0XWV25P4RCoBzuhtduPEWwXtbxpirl6+QpzGV1/VLQ=; b=L1NNIIyfU6Olmgb7dR3J64SQtBO9IscDH4EFGM4dxEnXDSZb9rDxKM9UFbZ0+J0XJb HSK2M7yMb5wLDwTbxX7VpB8nGPTuwd1rGzT0gb0UvloVJ6UtdOQzEH8ZL6GWdMsTTYX4 FXndBnAaL3bQF1Z9SSHIwKTwo2Lqq6S/MGyIQo6TZIfS+K8LFLIfJDJrW7+TalQ+itbV 8g60qWaex346NZ2Z1XU/4EhepusbQutvNSVwpr3BBv9oSgOx55vS0/zHeA7i4Y3wSZ7G TsYzKShNbVtFRS0gYJ4gXJ8Sgc1ihX7KEzcPiJCmpV6HgNQ+e1eZ01LPghZPiYI09v8T gAfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si1495535edq.473.2020.09.23.23.39.28; Wed, 23 Sep 2020 23:39:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727014AbgIXGiH (ORCPT + 99 others); Thu, 24 Sep 2020 02:38:07 -0400 Received: from m17618.mail.qiye.163.com ([59.111.176.18]:28788 "EHLO m17618.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726877AbgIXGiH (ORCPT ); Thu, 24 Sep 2020 02:38:07 -0400 Received: from vivo-HP-ProDesk-680-G4-PCI-MT.vivo.xyz (unknown [58.251.74.231]) by m17618.mail.qiye.163.com (Hmail) with ESMTPA id 3C6354E1837; Thu, 24 Sep 2020 14:38:04 +0800 (CST) From: Wang Qing To: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Wang Qing Subject: [PATCH] power: fix spelling typo Date: Thu, 24 Sep 2020 14:37:56 +0800 Message-Id: <1600929478-26554-1-git-send-email-wangqing@vivo.com> X-Mailer: git-send-email 2.7.4 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZTEMZHU1MHhlJHkNLVkpNS0tCSUJPQ09PQ0pVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NT46Ihw5GT8sHgMPKigiOD0O FRBPCh5VSlVKTUtLQklCT0NPQk9LVTMWGhIXVQwaFRwKEhUcOw0SDRRVGBQWRVlXWRILWUFZTkNV SU5KVUxPVUlISllXWQgBWUFKTUxINwY+ X-HM-Tid: 0a74bed54e569376kuws3c6354e1837 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Modify the comment typo: "compliment" -> "complement". Signed-off-by: Wang Qing --- drivers/power/supply/ab8500_fg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c index 7eec415..592a73d --- a/drivers/power/supply/ab8500_fg.c +++ b/drivers/power/supply/ab8500_fg.c @@ -653,7 +653,7 @@ int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res) /* * negative value for Discharging - * convert 2's compliment into decimal + * convert 2's complement into decimal */ if (high & 0x10) val = (low | (high << 8) | 0xFFFFE000); @@ -781,7 +781,7 @@ static void ab8500_fg_acc_cur_work(struct work_struct *work) if (ret < 0) goto exit; - /* Check for sign bit in case of negative value, 2's compliment */ + /* Check for sign bit in case of negative value, 2's complement */ if (high & 0x10) val = (low | (med << 8) | (high << 16) | 0xFFE00000); else -- 2.7.4