mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
Revert "(CR): mmi_charger: Fix battery_supply_init, batt_psy."
This reverts commit 993a25647b7c117aa576684ea553a62c00fe7b66. This change does not match the purpose of mmi_charger design, it will get mmi_charger controlling logic mess and break the exist factory test rule and method. Mot-CRs-fixed: (CR) Change-Id: I8b44d53f4f2a24bc9b3035a2e776f91503b3de23 Reviewed-on: https://gerrit.mot.com/2066277 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wentao Xu <xuwt2@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
98882c1062
commit
1b05406882
1 changed files with 1 additions and 1 deletions
|
|
@ -859,7 +859,7 @@ static void mmi_battery_supply_init(struct mmi_charger_chip *chip)
|
|||
if (chip->batt_psy)
|
||||
return;
|
||||
|
||||
chip->batt_psy = power_supply_get_by_name("mmi_battery");
|
||||
chip->batt_psy = power_supply_get_by_name("battery");
|
||||
if (!chip->batt_psy) {
|
||||
mmi_err(chip, "No battery supply found\n");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue