Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c340a520 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: event_notify: Remove the support"

parents fb1f7573 9bc1eafd
Loading
Loading
Loading
Loading
+347 −652

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -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

drivers/input/event_notify.c

deleted100644 → 0
+0 −34
Original line number Diff line number Diff line
// 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);