sc760x: fixed build err

sc760x_charger_mmi:
fixed build error

Change-Id: I78d66d43a75780612ed9a338f3c70c669bcd364b
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2526086
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
xuwt2 2023-03-02 17:28:46 +08:00 • committed by Wentao Xu
commit 495fcf0d67

View file

@ -1674,7 +1674,7 @@ static void sc760x_charger_set_constraint(void *data,
static void sc760x_paired_battery_notify(void *data,
struct mmi_battery_info *batt_info)
{
int ret = 0, partner_fg_vbatt = 0, fg_vbatt = 0;
int partner_fg_vbatt = 0, fg_vbatt = 0;
struct sc760x_mmi_charger *chg = data;
if (!chg) {