charging: export charge ops interface for authen test

For some authen tests, charging parameters may need to be changed
as requirement. And for original designation, these ops interfaces only
work in factory mode. So we need to export them in normal mode.

Change-Id: I4ed54474fb6f8e0a164231d8919bc0f385954bd5
Reviewed-on: https://gerrit.mot.com/2299683
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:
weiweij 2022-06-14 09:34:18 +08:00 • committed by Wei Wei
commit f7c69fecb1

View file

@ -2753,9 +2753,11 @@ static int mmi_discrete_charger_init(struct mmi_discrete_charger *chip)
pmic_vote_force_active_set(chip->usb_icl_votable, 1);
}
mmi_discrete_create_factory_testcase(chip);
}
/*export charging operation interface for AUTHEN version*/
mmi_discrete_create_factory_testcase(chip);
return 0;
free_mem:
if (client)