mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: 刘稳 <18502523564@163.com>
To: sre@kernel.org
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] power: supply: 88pm860x_battery array_soc first number is in mV
Date: Thu, 26 Oct 2017 11:31:22 +0800 (CST)	[thread overview]
Message-ID: <68ca57c8.53cd.15f56bc02ce.Coremail.18502523564@163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-power-supply-88pm860x_battery-array_soc-first-number.patch --]
[-- Type: application/octet-stream, Size: 987 bytes --]

From ce5b39337ff22ce37311e6150d6cdb1270872bfa Mon Sep 17 00:00:00 2001
From: "winton.liu" <18502523564@163.com>
Date: Thu, 26 Oct 2017 11:06:41 +0800
Subject: [PATCH] power: supply: 88pm860x_battery array_soc first number is in
 mV

Fix wrong comments of array_soc description.
First number is mV not mAh.

Signed-off-by: winton.liu <18502523564@163.com>
---
 drivers/power/supply/88pm860x_battery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/88pm860x_battery.c b/drivers/power/supply/88pm860x_battery.c
index 63c57dc..8f867fd 100644
--- a/drivers/power/supply/88pm860x_battery.c
+++ b/drivers/power/supply/88pm860x_battery.c
@@ -123,7 +123,7 @@ struct ccnt {
 
 /*
  * State of Charge.
- * The first number is mAh(=3.6C), and the second number is percent point.
+ * The first number is mV, and the second number is percent point.
  */
 static int array_soc[][2] = {
 	{4170, 100}, {4154, 99}, {4136, 98}, {4122, 97}, {4107, 96},
-- 
1.9.1


             reply	other threads:[~2017-10-26  3:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26  3:31 刘稳 [this message]
2017-10-26  5:21 winton.liu
2017-10-26  5:41 ` Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68ca57c8.53cd.15f56bc02ce.Coremail.18502523564@163.com \
    --to=18502523564@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome