mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
charger:bq25960 30w charger support
bq25960 30w charger support at driver Change-Id: Ia1f4bd4004afb43c6f1d46c4b38d0818164b4d0e Signed-off-by: xuwei9 <xuwei9@lenovo.com> Reviewed-on: https://gerrit.mot.com/1903631 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
78e1f50c8c
commit
932a79b381
1 changed files with 3 additions and 2 deletions
|
|
@ -397,6 +397,7 @@ static void dump_reg(struct bq25980_device *bq, int start, int end)
|
|||
dev_err(bq->dev, "Reg[%02X] = 0x%02X\n", addr, val);
|
||||
}
|
||||
}
|
||||
/*
|
||||
static void dump_all_reg(struct bq25980_device *bq)
|
||||
{
|
||||
int ret;
|
||||
|
|
@ -408,7 +409,7 @@ static void dump_all_reg(struct bq25980_device *bq)
|
|||
if (!ret)
|
||||
dev_err(bq->dev, "Reg[%02X] = 0x%02X\n", addr, val);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
/*
|
||||
static int bq25980_get_adc_enable(struct bq25980_device *bq)
|
||||
{
|
||||
|
|
@ -1075,7 +1076,7 @@ static int bq25980_get_charger_property(struct power_supply *psy,
|
|||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
dev_err(bq->dev,"%s,psp:%d,value:%d\n",__func__,psp,val->intval);
|
||||
// dev_err(bq->dev,"%s,psp:%d,value:%d\n",__func__,psp,val->intval);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue