From 9bc1eafdcb840a625b2bd7d95c19bb1f040a0459 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Wed, 15 Jul 2020 08:24:00 -0700 Subject: [PATCH] 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 --- abi_gki_aarch64_a9a13eeea9.xml | 999 ++++++++++++--------------------- drivers/input/Makefile | 2 +- drivers/input/event_notify.c | 34 -- 3 files changed, 348 insertions(+), 687 deletions(-) delete mode 100644 drivers/input/event_notify.c diff --git a/abi_gki_aarch64_a9a13eeea9.xml b/abi_gki_aarch64_a9a13eeea9.xml index 5c6b383475c8..e10d240c0007 100644 --- a/abi_gki_aarch64_a9a13eeea9.xml +++ b/abi_gki_aarch64_a9a13eeea9.xml @@ -2229,8 +2229,6 @@ - - @@ -29005,23 +29003,6 @@ - - - - - - - - - - - - - - - - - @@ -30104,7 +30085,7 @@ - + @@ -30128,13 +30109,13 @@ - + - + @@ -30148,6 +30129,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -30183,17 +30194,6 @@ - - - - - - - - - - - @@ -31226,7 +31226,7 @@ - + @@ -31318,7 +31318,7 @@ - + @@ -31741,16 +31741,6 @@ - - - - - - - - - - @@ -32840,7 +32830,7 @@ - + @@ -32852,7 +32842,7 @@ - + @@ -34061,7 +34051,7 @@ - + @@ -34210,7 +34200,7 @@ - + @@ -36012,7 +36002,7 @@ - + @@ -36112,13 +36102,13 @@ - + - + @@ -38701,7 +38691,7 @@ - + @@ -39365,7 +39355,7 @@ - + @@ -40981,9 +40971,9 @@ - - - + + + @@ -41082,248 +41072,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -41351,17 +41099,6 @@ - - - - - - - - - - - @@ -46666,6 +46403,17 @@ + + + + + + + + + + + @@ -46739,7 +46487,7 @@ - + @@ -48114,7 +47862,7 @@ - + @@ -48832,7 +48580,7 @@ - + @@ -48848,7 +48596,7 @@ - + @@ -48861,7 +48609,7 @@ - + @@ -48869,7 +48617,7 @@ - + @@ -49709,7 +49457,7 @@ - + @@ -49723,7 +49471,7 @@ - + @@ -50578,10 +50326,10 @@ - + - + @@ -50595,7 +50343,7 @@ - + @@ -50606,7 +50354,7 @@ - + @@ -50625,7 +50373,7 @@ - + @@ -50634,7 +50382,7 @@ - + @@ -51114,76 +50862,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -51224,7 +50902,7 @@ - + @@ -51232,6 +50910,23 @@ + + + + + + + + + + + + + + + + + @@ -51431,17 +51126,6 @@ - - - - - - - - - - - @@ -58761,7 +58445,7 @@ - + @@ -58783,10 +58467,10 @@ - + - + @@ -58825,7 +58509,7 @@ - + @@ -59085,23 +58769,6 @@ - - - - - - - - - - - - - - - - - @@ -59338,7 +59005,7 @@ - + @@ -59474,6 +59141,23 @@ + + + + + + + + + + + + + + + + + @@ -60420,7 +60104,7 @@ - + @@ -60538,10 +60222,10 @@ - + - + @@ -61116,10 +60800,10 @@ - + - + @@ -61158,7 +60842,7 @@ - + @@ -61170,7 +60854,7 @@ - + @@ -61262,10 +60946,10 @@ - + - + @@ -61487,10 +61171,10 @@ - + - + @@ -61865,7 +61549,7 @@ - + @@ -62843,7 +62527,7 @@ - + @@ -62864,12 +62548,12 @@ - + - + @@ -62886,7 +62570,7 @@ - + @@ -63709,7 +63393,7 @@ - + @@ -63756,7 +63440,7 @@ - + @@ -63805,10 +63489,10 @@ - + - + @@ -63821,13 +63505,13 @@ - + - + - + @@ -64043,9 +63727,9 @@ - + - + @@ -64054,7 +63738,7 @@ - + @@ -64062,10 +63746,10 @@ - + - + @@ -67665,7 +67349,7 @@ - + @@ -67673,7 +67357,7 @@ - + @@ -67759,13 +67443,13 @@ - + - + @@ -69279,9 +68963,9 @@ - + - + @@ -69290,7 +68974,7 @@ - + @@ -69324,13 +69008,13 @@ - + - + @@ -69344,15 +69028,15 @@ - + - + - + @@ -69417,6 +69101,17 @@ + + + + + + + + + + + @@ -69873,7 +69568,7 @@ - + @@ -70406,7 +70101,7 @@ - + @@ -70444,7 +70139,7 @@ - + @@ -70460,7 +70155,7 @@ - + @@ -70484,7 +70179,7 @@ - + @@ -71105,45 +70800,45 @@ - - - + + + - + - - + + - + - + - - - - - + + + + + - - - + + + - - - - + + + + - - - + + + @@ -72483,10 +72178,10 @@ - + - + @@ -72544,7 +72239,7 @@ - + @@ -72596,7 +72291,7 @@ - + @@ -72794,7 +72489,7 @@ - + @@ -80761,7 +80456,7 @@ - + @@ -80781,7 +80476,7 @@ - + @@ -80969,43 +80664,43 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - - - + + + + + + - - - - + + + + - - - - - + + + + + @@ -81100,14 +80795,14 @@ - - - + + + - - - + + + @@ -81115,42 +80810,42 @@ - - - - - + + + + + - - - + + + - - + + - - - + + + - - - + + + - - - + + + - + - - + + @@ -81429,7 +81124,7 @@ - + @@ -81565,10 +81260,10 @@ - + - + @@ -81587,7 +81282,7 @@ - + @@ -81617,7 +81312,7 @@ - + @@ -81728,7 +81423,7 @@ - + @@ -81954,7 +81649,7 @@ - + @@ -82166,7 +81861,7 @@ - + @@ -82290,7 +81985,7 @@ - + @@ -82330,7 +82025,7 @@ - + @@ -82374,7 +82069,7 @@ - + @@ -82947,7 +82642,7 @@ - + @@ -82958,7 +82653,7 @@ - + @@ -83611,10 +83306,10 @@ - + - + @@ -83631,12 +83326,12 @@ - + - + @@ -84323,7 +84018,7 @@ - + @@ -84626,7 +84321,7 @@ - + @@ -84661,10 +84356,10 @@ - + - + @@ -84683,7 +84378,7 @@ - + @@ -84828,7 +84523,7 @@ - + @@ -84993,7 +84688,7 @@ - + @@ -85164,7 +84859,7 @@ - + @@ -85924,7 +85619,7 @@ - + @@ -85940,7 +85635,7 @@ - + @@ -85950,7 +85645,7 @@ - + @@ -86141,7 +85836,7 @@ - + @@ -87068,7 +86763,7 @@ - + @@ -87260,7 +86955,7 @@ - + @@ -87274,7 +86969,7 @@ - + @@ -87282,9 +86977,9 @@ - + - + @@ -87293,7 +86988,7 @@ - + @@ -87301,10 +86996,10 @@ - + - + @@ -87718,7 +87413,7 @@ - + @@ -87890,10 +87585,10 @@ - + - + @@ -88828,6 +88523,14 @@ + + + + + + + + @@ -89518,7 +89221,7 @@ - + @@ -89616,7 +89319,7 @@ - + @@ -91086,10 +90789,10 @@ - + - + @@ -91690,7 +91393,7 @@ - + @@ -94059,7 +93762,7 @@ - + @@ -94067,7 +93770,7 @@ - + @@ -94075,7 +93778,7 @@ - + @@ -94083,15 +93786,15 @@ - + - + - + @@ -94178,15 +93881,7 @@ - - - - - - - - - + @@ -94194,7 +93889,7 @@ - + @@ -94202,7 +93897,7 @@ - + @@ -94210,7 +93905,7 @@ - + @@ -94218,7 +93913,7 @@ - + @@ -94226,7 +93921,7 @@ - + @@ -94829,7 +94524,7 @@ - + @@ -94846,7 +94541,7 @@ - + @@ -94854,7 +94549,7 @@ - + @@ -94939,10 +94634,10 @@ - + - + @@ -94983,12 +94678,12 @@ - + - + @@ -95910,7 +95605,7 @@ - + @@ -95958,10 +95653,10 @@ - + - + @@ -95978,7 +95673,7 @@ - + @@ -95989,7 +95684,7 @@ - + @@ -96023,7 +95718,7 @@ - + @@ -96032,24 +95727,24 @@ - + - + - + - + - + - + @@ -96057,7 +95752,7 @@ - + @@ -96065,7 +95760,7 @@ - + @@ -96073,7 +95768,7 @@ - + @@ -96096,7 +95791,7 @@ - + @@ -97992,7 +97687,7 @@ - + @@ -99600,7 +99295,7 @@ - + @@ -101278,10 +100973,10 @@ - - - - + + + + diff --git a/drivers/input/Makefile b/drivers/input/Makefile index fe51e4c2f509..e35650930371 100644 --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@ -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 diff --git a/drivers/input/event_notify.c b/drivers/input/event_notify.c deleted file mode 100644 index fbb1a052f3b3..000000000000 --- a/drivers/input/event_notify.c +++ /dev/null @@ -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 -#include -#include - -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); -