synaptics_mmi_class: fix broken build

Since module name has changed, there is no more naming conflict between
touchscreen class based driver and older version not using class code.
Removing stale references that won't be used again and fixing broken
build on some branches.

Change-Id: Id8f9c2b0ce6e4adae31882b7d28d5c928ee71fd7
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1932146
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Konstantin Makariev 2021-04-25 10:16:26 -05:00 • committed by Konstantin Makariev
commit bcbc566eb4
2 changed files with 0 additions and 8 deletions

View file

@ -3,8 +3,6 @@ EXTRA_CFLAGS += -Wall
EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include \
-I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/drivers/input/touchscreen/synaptics_mmi_class
ifeq ($(filter m y,$(CONFIG_PANEL_NOTIFICATIONS)),)
ifneq ($(filter banks%, $(TARGET_PRODUCT)),)
EXTRA_CFLAGS += -DSOFTDEP_GPIO_PCAL6408
endif
@ -28,4 +26,3 @@ obj-m += synaptics_mmi_class_rmi_dev.o
obj-m += synaptics_mmi_class_test_reporting.o
endif
endif

View file

@ -519,11 +519,6 @@ struct synaptics_rmi4_data {
struct regulator *vdd_quirk;
struct mutex rmi4_io_ctrl_mutex;
struct mutex state_mutex;
#if defined(CONFIG_PANEL_NOTIFICATIONS)
struct mmi_notifier panel_nb;
#elif defined(CONFIG_FB)
struct notifier_block panel_nb;
#endif
atomic_t panel_off_flag;
unsigned char current_page;
unsigned char button_0d_enabled;