Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1563935pxk; Fri, 25 Sep 2020 19:43:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMQZ1Kh0L0IpgZj9v/MShnWKFT1RcgoUYbjBk1JnZXIsC6wqnDdFZozSdqp/aLmdYH+/Ma X-Received: by 2002:a17:906:edc4:: with SMTP id sb4mr5533886ejb.144.1601088202729; Fri, 25 Sep 2020 19:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601088202; cv=none; d=google.com; s=arc-20160816; b=BzQNO06u/Yt5KbpddAaBnfPCN60+dZVgoK3/D8r10ItYb/i1tac2yQNlptQShyUj0D U6TH2LtUeGLeE/EZRvMAOt+RorauXhkkR1z/xKKaDs/YrmTorpm6hhRlp//1KF3e9jfa EyW5nGZHJnnFxsapnoToLNvhHD5pEKilG+TefeRF3yt/RXixnwb150tpr5/YggUUd7tn 6wvcAhQcffGgN1NmsUOgUrn2diUSKh+A2E5uG0gEoIZXGQzb74uyRxaIAt0n149VAJZC nLmFT3m2SX8KEFpn1tcfh8TST9M6zxMp7JVJlHJ5VUXyllTgOVTrJuwrLC0Sopd9D2c5 Oguw== 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=W753GD1TyNKRYtKnOh+3+CJcBkDr2AfJgZgtjmQpDIY=; b=dJEm6ecwWVuEQ9nzqa0OuNp8Y9TXjJR7SxzPaY3KwLsF+72Qale/sSNReMsgHN50V5 nFlDIDy2MGdUNf6UUdhmMr+pXt7uK6MtvPekm3Gu/xdVoaV3qKqMXIhuBHuXwMnDv0Ra QUqQYuxC49guyyiI0RUj/RlNzzNRFCdn5f78O0GkOcjiaMO30lTP0kGRkSDjpuG9WKif DLhrWYxE9yH/Ws4DLW6mkPMK2A8RfU0XI2e2krvMhcXLdb5j0Mv5uB7VMP5JjX203hbQ N5H+GEpzpCvnFft6yNeGYBMwMahHZSAUyp3VNaNvmOtl3lIqwcqmi2fvtxb47b77abYl ZfgQ== 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 c33si3388215edf.530.2020.09.25.19.42.59; Fri, 25 Sep 2020 19:43:22 -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 S1729894AbgIZClp (ORCPT + 99 others); Fri, 25 Sep 2020 22:41:45 -0400 Received: from m17618.mail.qiye.163.com ([59.111.176.18]:8237 "EHLO m17618.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728871AbgIZClo (ORCPT ); Fri, 25 Sep 2020 22:41:44 -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 BCA244E1432; Sat, 26 Sep 2020 10:41:40 +0800 (CST) From: Wang Qing To: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Wang Qing Subject: [PATCH] power: supply: fix spelling typo Date: Sat, 26 Sep 2020 10:41:07 +0800 Message-Id: <1601088070-12790-1-git-send-email-wangqing@vivo.com> X-Mailer: git-send-email 2.7.4 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGUNPSh5JT0IfTRgZVkpNS0pLQ0NKS0tCTENVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6ORA6KRw6MD8sOAE2Lk1MCTpR ARAaFDBVSlVKTUtKS0NDSktKT0tJVTMWGhIXVQwaFRwKEhUcOw0SDRRVGBQWRVlXWRILWUFZTkNV SU5KVUxPVUlISllXWQgBWUFIQk1MNwY+ X-HM-Tid: 0a74c8499a319376kuwsbca244e1432 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/ds2780_battery.c | 6 +++--- drivers/power/supply/ds2781_battery.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/power/supply/ds2780_battery.c b/drivers/power/supply/ds2780_battery.c index db3a254..dd57a47 --- a/drivers/power/supply/ds2780_battery.c +++ b/drivers/power/supply/ds2780_battery.c @@ -160,7 +160,7 @@ static int ds2780_get_voltage(struct ds2780_device_info *dev_info, /* * The voltage value is located in 10 bits across the voltage MSB - * and LSB registers in two's compliment form + * and LSB registers in two's complement form * Sign bit of the voltage value is in bit 7 of the voltage MSB register * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the * voltage MSB register @@ -188,7 +188,7 @@ static int ds2780_get_temperature(struct ds2780_device_info *dev_info, /* * The temperature value is located in 10 bits across the temperature - * MSB and LSB registers in two's compliment form + * MSB and LSB registers in two's complement form * Sign bit of the temperature value is in bit 7 of the temperature * MSB register * Bits 9 - 3 of the temperature value are in bits 6 - 0 of the @@ -241,7 +241,7 @@ static int ds2780_get_current(struct ds2780_device_info *dev_info, /* * The current value is located in 16 bits across the current MSB - * and LSB registers in two's compliment form + * and LSB registers in two's complement form * Sign bit of the current value is in bit 7 of the current MSB register * Bits 14 - 8 of the current value are in bits 6 - 0 of the current * MSB register diff --git a/drivers/power/supply/ds2781_battery.c b/drivers/power/supply/ds2781_battery.c index 130cbdf..3df3c82 --- a/drivers/power/supply/ds2781_battery.c +++ b/drivers/power/supply/ds2781_battery.c @@ -168,7 +168,7 @@ static int ds2781_get_voltage(struct ds2781_device_info *dev_info, return ret; /* * The voltage value is located in 10 bits across the voltage MSB - * and LSB registers in two's compliment form + * and LSB registers in two's complement form * Sign bit of the voltage value is in bit 7 of the voltage MSB register * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the * voltage MSB register @@ -197,7 +197,7 @@ static int ds2781_get_temperature(struct ds2781_device_info *dev_info, return ret; /* * The temperature value is located in 10 bits across the temperature - * MSB and LSB registers in two's compliment form + * MSB and LSB registers in two's complement form * Sign bit of the temperature value is in bit 7 of the temperature * MSB register * Bits 9 - 3 of the temperature value are in bits 6 - 0 of the @@ -242,7 +242,7 @@ static int ds2781_get_current(struct ds2781_device_info *dev_info, /* * The current value is located in 16 bits across the current MSB - * and LSB registers in two's compliment form + * and LSB registers in two's complement form * Sign bit of the current value is in bit 7 of the current MSB register * Bits 14 - 8 of the current value are in bits 6 - 0 of the current * MSB register -- 2.7.4