Loading drivers/power/supply/qcom/qpnp-vm-bms.c +1 −1 Original line number Diff line number Diff line Loading @@ -1456,7 +1456,7 @@ static int report_eoc(struct qpnp_bms_chip *chip) if (chip->batt_psy == NULL) chip->batt_psy = power_supply_get_by_name("battery"); if (chip->batt_psy) { power_supply_get_property(chip->batt_psy, rc = power_supply_get_property(chip->batt_psy, POWER_SUPPLY_PROP_STATUS, &ret); if (rc) { pr_err("Unable to get battery 'STATUS' rc=%d\n", rc); Loading Loading
drivers/power/supply/qcom/qpnp-vm-bms.c +1 −1 Original line number Diff line number Diff line Loading @@ -1456,7 +1456,7 @@ static int report_eoc(struct qpnp_bms_chip *chip) if (chip->batt_psy == NULL) chip->batt_psy = power_supply_get_by_name("battery"); if (chip->batt_psy) { power_supply_get_property(chip->batt_psy, rc = power_supply_get_property(chip->batt_psy, POWER_SUPPLY_PROP_STATUS, &ret); if (rc) { pr_err("Unable to get battery 'STATUS' rc=%d\n", rc); Loading