mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
sc760x_charger_mmi: no need to return failed
sc->thermal_ratio assign to default value, so no need retrun failed if not define thermal-ratio in dts, or sc760x may register failed Change-Id: I8f0494c85bf36caad9aa8d5340d8bcc70e779b5a Signed-off-by: xuxj <xuxj12@motorola.com> Reviewed-on: https://gerrit.mot.com/2592059 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Wentao Xu <xuwt2@motorola.com> Tested-by: Jira Key Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
be0aa66192
commit
8a73a52922
1 changed files with 1 additions and 1 deletions
|
|
@ -1132,7 +1132,7 @@ static int sc760x_parse_dt(struct sc760x_chip *sc, struct device *dev)
|
|||
if (ret)
|
||||
sc->thermal_ratio = 1;
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sc760x_init_device(struct sc760x_chip *sc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue