tundra: input touch fix rmmod

fix
rmmod

Change-Id: I376db1a2f99462e03c754a44a593fe316ac97999
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2253177
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
dengwei1 2022-04-26 17:06:05 +08:00 • committed by Wei Deng
commit e562dc6ace
2 changed files with 2 additions and 2 deletions

View file

@ -2528,7 +2528,7 @@ static int goodix_ts_remove(struct platform_device *pdev)
cpu_latency_qos_remove_request(&core_data->goodix_pm_qos);
#endif
#ifdef CONFIG_INPUT_TOUCHSCREEN_MMI
ts_info("%s:goodix_ts_mmi_dev_register",__func__);
ts_info("%s:goodix_ts_mmi_dev_unregister",__func__);
goodix_ts_mmi_dev_unregister(pdev);
#endif

View file

@ -1087,5 +1087,5 @@ void goodix_ts_mmi_dev_unregister(struct platform_device *pdev) {
if (!core_data)
ts_err("Failed to get driver data");
mutex_destroy(&core_data->mode_lock);
ts_mmi_dev_unregister(&pdev->dev);
ts_mmi_dev_unregister(core_data->bus->dev);
}