From 2e96d60d33e57162134028cb28b201c87897b4ef Mon Sep 17 00:00:00 2001 From: litong Date: Wed, 16 Dec 2020 15:57:53 +0800 Subject: [PATCH] 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 Submit-Approved: Jira Key --- .../input/touchscreen/focaltech_0flash_mmi/focaltech_ts_mmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_ts_mmi.c b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_ts_mmi.c index e683d7f54ded..a0b00bc5dc89 100644 --- a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_ts_mmi.c +++ b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_ts_mmi.c @@ -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); }