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 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1942995
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wangyq13 2021-05-08 10:09:31 +08:00 • committed by Yeqing Wang
commit 3e0c089633

View file

@ -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
/*****************************************************************************