input: event_notify: Remove the support

Remove the support for sending event notifications via
event_notify as there are no users of it. Update the
ABI snapshot accordingly.

Change-Id: I22f28339ed1e834ae0dbd762562a52a158c12406
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
Raghavendra Rao Ananta 2020-07-15 08:24:00 -07:00
commit 9bc1eafdcb
3 changed files with 348 additions and 687 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@
# Each configuration option enables a list of files.
obj-$(CONFIG_INPUT) += input-core.o
input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o event_notify.o
input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o
obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o

View file

@ -1,34 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
*/
#include <linux/export.h>
#include <linux/notifier.h>
#include <linux/input/touch_event_notify.h>
static BLOCKING_NOTIFIER_HEAD(touch_notifier_list);
int touch_event_register_notifier(struct notifier_block *nb)
{
return blocking_notifier_chain_register(&touch_notifier_list, nb);
}
EXPORT_SYMBOL(touch_event_register_notifier);
int touch_event_unregister_notifier(struct notifier_block *nb)
{
return blocking_notifier_chain_unregister(&touch_notifier_list, nb);
}
EXPORT_SYMBOL(touch_event_unregister_notifier);
void touch_event_call_notifier(unsigned long action, void *data)
{
blocking_notifier_call_chain(&touch_notifier_list, action, data);
}
EXPORT_SYMBOL(touch_event_call_notifier);