mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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:
parent
3974bb7b3f
commit
0d91c148b4
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue