Correct the config_id and build_id errors of focaltech IC

TP:
Correct the config_id and build_id errors of focaltech IC

Change-Id: Ieedaf5a16cad86af33a2c248c42596b7358ee468
Reviewed-on: https://gerrit.mot.com/1828744
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
litong 2020-12-16 15:57:53 +08:00 • committed by litong
commit 2e96d60d33

View file

@ -33,7 +33,7 @@ static int fts_mmi_methods_get_productinfo(struct device *dev, void *cdata)
return scnprintf(TO_CHARP(cdata), TS_MMI_MAX_INFO_LEN, "%s", FTS_CHIP_NAME);
}
static int fts_mmi_methods_get_build_id(struct device *dev, void *cdata)
static int fts_mmi_methods_get_config_id(struct device *dev, void *cdata)
{
struct fts_ts_data *ts_data;
struct input_dev *input_dev;
@ -58,7 +58,7 @@ static int fts_mmi_methods_get_build_id(struct device *dev, void *cdata)
}
/*return firmware version*/
static int fts_mmi_methods_get_config_id(struct device *dev, void *cdata)
static int fts_mmi_methods_get_build_id(struct device *dev, void *cdata)
{
return scnprintf(TO_CHARP(cdata), TS_MMI_MAX_ID_LEN, "%04x", 0);
}