summaryrefslogtreecommitdiff
path: root/lwis_device_slc.c
diff options
context:
space:
mode:
authorlinyuny <linyuny@google.com>2023-07-13 22:57:43 +0000
committerlinyuny <linyuny@google.com>2023-07-17 19:36:39 +0000
commit6e6e884ebfd08596507452a1082ab61c7b71c261 (patch)
treebaaf046f7925e58de61cbdac42e5e6a350f8698a /lwis_device_slc.c
parent25d9c32f6c12d67e6058ecb93620c80ef1017f28 (diff)
downloadlwis-6e6e884ebfd08596507452a1082ab61c7b71c261.tar.gz
LWIS: Remove lwis_event_subscribe_operations
Bug: 283156240 Test: CTS, GCA Change-Id: I50d5d65ef16047a8f61dc3f7021775449911f178 Signed-off-by: linyuny <linyuny@google.com>
Diffstat (limited to 'lwis_device_slc.c')
-rw-r--r--lwis_device_slc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lwis_device_slc.c b/lwis_device_slc.c
index 59c2e50..a3a7705 100644
--- a/lwis_device_slc.c
+++ b/lwis_device_slc.c
@@ -46,13 +46,6 @@ static struct lwis_device_subclass_operations slc_vops = {
.close = NULL,
};
-static struct lwis_event_subscribe_operations slc_subscribe_ops = {
- .subscribe_event = NULL,
- .unsubscribe_event = NULL,
- .notify_event_subscriber = NULL,
- .release = NULL,
-};
-
static int lwis_slc_enable(struct lwis_device *lwis_dev)
{
#ifdef CONFIG_OF
@@ -260,7 +253,6 @@ static int lwis_slc_device_probe(struct platform_device *plat_dev)
slc_dev->base_dev.type = DEVICE_TYPE_SLC;
slc_dev->base_dev.vops = slc_vops;
- slc_dev->base_dev.subscribe_ops = slc_subscribe_ops;
slc_dev->base_dev.plat_dev = plat_dev;
slc_dev->base_dev.k_dev = &plat_dev->dev;