lkml.org 
[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] power: supply: 88pm860x_battery array_soc first number is in mV
Date
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

\
 
 \ /
  Last update: 2017-10-26 07:23    [W:0.036 / U:3.164 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site