max1720x_battery: remove POWER_SUPPLY_DELTA_*_SUM
Sync to the removal of unused power supply properties
Bug: 160835098
Test: compile
Signed-off-by: AleX Pelosi <[email protected]>
Change-Id: Ic34088315f37b88df8eb2faad9f9986ee06b7867
diff --git a/max1720x_battery.c b/max1720x_battery.c
index ac96358..73a674f 100644
--- a/max1720x_battery.c
+++ b/max1720x_battery.c
@@ -766,8 +766,6 @@
POWER_SUPPLY_PROP_VOLTAGE_OCV,
POWER_SUPPLY_PROP_TECHNOLOGY,
POWER_SUPPLY_PROP_SERIAL_NUMBER,
- POWER_SUPPLY_PROP_DELTA_CC_SUM,
- POWER_SUPPLY_PROP_DELTA_VFSOC_SUM,
POWER_SUPPLY_PROP_CHARGE_FULL_ESTIMATE,
POWER_SUPPLY_PROP_RES_FILTER_COUNT,
POWER_SUPPLY_PROP_RESISTANCE_AVG, /* 24 */
@@ -1700,12 +1698,6 @@
case POWER_SUPPLY_PROP_SERIAL_NUMBER:
val->strval = chip->serial_number;
break;
- case POWER_SUPPLY_PROP_DELTA_CC_SUM:
- val->intval = chip->cap_estimate.delta_cc_sum;
- break;
- case POWER_SUPPLY_PROP_DELTA_VFSOC_SUM:
- val->intval = chip->cap_estimate.delta_vfsoc_sum;
- break;
case POWER_SUPPLY_PROP_CHARGE_FULL_ESTIMATE:
val->intval = batt_ce_full_estimate(&chip->cap_estimate);
if (val->intval > 0)
@@ -2801,6 +2793,17 @@
max1720x_set_custom_model);
+/*
+ * TODO: add the building blocks of google capacity
+ *
+ * case POWER_SUPPLY_PROP_DELTA_CC_SUM:
+ * val->intval = chip->cap_estimate.delta_cc_sum;
+ * break;
+ * case POWER_SUPPLY_PROP_DELTA_VFSOC_SUM:
+ * val->intval = chip->cap_estimate.delta_vfsoc_sum;
+ * break;
+ */
+
static int max17x0x_init_debugfs(struct max1720x_chip *chip)
{
struct dentry *de;