mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
wls_chg: remove check chip id function
For original usage, function check_chip_id is used to decide whether FW need to be upgraded. But we have change it by FW version checking. So this function will not used any more. We should remove it. Change-Id: Idbf875a8491f8321755c56f9b8cc5f2310409214 Reviewed-on: https://gerrit.mot.com/2255040 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:
parent
8bae453908
commit
69576bbb34
1 changed files with 0 additions and 10 deletions
|
|
@ -418,16 +418,6 @@ static int cps_wls_program_wait_cmd_done(void)
|
|||
return CPS_WLS_SUCCESS;
|
||||
}
|
||||
|
||||
static bool cps_check_chip_id(void)
|
||||
{
|
||||
int id = cps_wls_get_chip_id();
|
||||
|
||||
cps_wls_log(CPS_LOG_DEBG, "[%s] chip id 0x%x\n", __func__, id);
|
||||
|
||||
return ((id == CPS4019_CHIP_ID) || (id == -1)) ? TRUE : FALSE;
|
||||
}
|
||||
*/
|
||||
|
||||
static bool cps_check_fw_ver(void)
|
||||
{
|
||||
int fw_major, fw_minor;
|
||||
|
|
|
|||
Loading…
Reference in a new issue