charging: remove useless power supply prop

As VTS test failed, need to remove useless
power supply prop

Change-Id: I497bde2a0b61645284daf00b89f28a80faae8748
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2130440
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
mahj8 2021-11-30 10:19:36 +08:00 • committed by Haijian Ma
commit 0d91c148b4

View file

@ -1146,11 +1146,9 @@ static enum power_supply_property batt_props[] = {
POWER_SUPPLY_PROP_TECHNOLOGY,
POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX,
POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT,
POWER_SUPPLY_PROP_CHARGE_COUNTER,
POWER_SUPPLY_PROP_CYCLE_COUNT,
POWER_SUPPLY_PROP_CHARGE_FULL,
POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN,
POWER_SUPPLY_PROP_TIME_TO_FULL_NOW,
};
static int batt_get_prop(struct power_supply *psy,
@ -1203,8 +1201,6 @@ static int batt_get_prop(struct power_supply *psy,
case POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT:
rc = get_prop_system_temp_level(chip, val);
break;
case POWER_SUPPLY_PROP_CHARGE_COUNTER:
case POWER_SUPPLY_PROP_TIME_TO_FULL_NOW:
case POWER_SUPPLY_PROP_VOLTAGE_NOW:
rc = power_supply_get_property(chip->bms_psy, psp, val);
break;