power: supply: bq25890_charger: Remove unused table entries
authorAngus Ainslie (Purism) <angus@akkea.ca>
Tue, 31 Jul 2018 17:49:07 +0000 (11:49 -0600)
committerSebastian Reichel <sre@kernel.org>
Sun, 16 Sep 2018 09:28:57 +0000 (11:28 +0200)
There are a few table entries that aren't used. Drop them.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c

index 7f0b3a46c50ca843edbd3cd288a66a9889f3242f..ca61278e932e91e807d9e94e786fe92697326b3f 100644 (file)
@@ -244,10 +244,7 @@ enum bq25890_table_ids {
        /* range tables */
        TBL_ICHG,
        TBL_ITERM,
-       TBL_IPRECHG,
        TBL_VREG,
-       TBL_BATCMP,
-       TBL_VCLAMP,
        TBL_BOOSTV,
        TBL_SYSVMIN,
 
@@ -287,8 +284,6 @@ static const union {
        [TBL_ICHG] =    { .rt = {0,       5056000, 64000} },     /* uA */
        [TBL_ITERM] =   { .rt = {64000,   1024000, 64000} },     /* uA */
        [TBL_VREG] =    { .rt = {3840000, 4608000, 16000} },     /* uV */
-       [TBL_BATCMP] =  { .rt = {0,       140,     20} },        /* mOhm */
-       [TBL_VCLAMP] =  { .rt = {0,       224000,  32000} },     /* uV */
        [TBL_BOOSTV] =  { .rt = {4550000, 5510000, 64000} },     /* uV */
        [TBL_SYSVMIN] = { .rt = {3000000, 3700000, 100000} },    /* uV */