From 3e0c08963393c3b372b0e62ceed3334db7d11973 Mon Sep 17 00:00:00 2001 From: wangyq13 Date: Sat, 8 May 2021 10:09:31 +0800 Subject: [PATCH] focaltech_0flash: rm register_panel_notifier null define focaltech_0flash_mmi: Remove register_panel_notifier null definition, because this function is only used when FOCALTECH_CONFIG_PANEL_NOTIFICATIONS defined. Add this null definition causes redefinition warning. Change-Id: I8d22e5f7fcecb3eae8dfb66c1341ab3f29bae070 Signed-off-by: wangyq13 Reviewed-on: https://gerrit.mot.com/1942995 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: litong Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- .../input/touchscreen/focaltech_0flash_mmi/focaltech_core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c index 1c31934e90b0..e47a17ea0082 100755 --- a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c +++ b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c @@ -69,9 +69,6 @@ enum touch_state { TOUCH_DEEP_SLEEP_STATE = 0, TOUCH_LOW_POWER_STATE, }; -#else -#define register_panel_notifier(...) rc -#define unregister_panel_notifier(...) rc #endif /*****************************************************************************