Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723988 > unrolled thread

[PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421

Started by"H. Nikolaus Schaller" <hns@goldelico.com>
First post2017-08-31 10:30 +0200
Last post2017-08-31 10:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421 "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 10:30 +0200

#1723988 — [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421

From"H. Nikolaus Schaller" <hns@goldelico.com>
Date2017-08-31 10:30 +0200
Subject[PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421
Message-ID<ukt1n-3fk-7@gated-at.bofh.it>
Tested on Pyra prototype with bq27421.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 drivers/power/supply/bq27xxx_battery.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c
index ad876a3abe01..e80571cf7be1 100644
--- a/drivers/power/supply/bq27xxx_battery.c
+++ b/drivers/power/supply/bq27xxx_battery.c
@@ -688,15 +688,11 @@ static struct bq27xxx_dm_reg bq27545_dm_regs[] = {
 #define bq27545_dm_regs 0
 #endif
 
-#if 0 /* not yet tested */
 static struct bq27xxx_dm_reg bq27421_dm_regs[] = {
 	[BQ27XXX_DM_DESIGN_CAPACITY]   = { 82, 10, 2,    0,  8000 },
 	[BQ27XXX_DM_DESIGN_ENERGY]     = { 82, 12, 2,    0, 32767 },
 	[BQ27XXX_DM_TERMINATE_VOLTAGE] = { 82, 16, 2, 2500,  3700 },
 };
-#else
-#define bq27421_dm_regs 0
-#endif
 
 static struct bq27xxx_dm_reg bq27425_dm_regs[] = {
 	[BQ27XXX_DM_DESIGN_CAPACITY]   = { 82, 12, 2,    0, 32767 },
-- 
2.12.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web