diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-27 01:55:10 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-30 05:02:01 +0200 |
commit | 79ffd5f98c11572c004d52f7ecd270ab680a7f72 (patch) | |
tree | 8b67e14e1ccaeb6ca99f848231aba6316e409176 /drivers/input | |
parent | Merge tag 'v4.12-rc3' into next (diff) | |
download | linux-79ffd5f98c11572c004d52f7ecd270ab680a7f72.tar.xz linux-79ffd5f98c11572c004d52f7ecd270ab680a7f72.zip |
Input: sparse-keymap - remove sparse_keymap_free()
Now that all users of sparse_keymap_free() are gone we can remove the stub.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/sparse-keymap.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/input/sparse-keymap.c b/drivers/input/sparse-keymap.c index 12a3ad83296d..bb0349fa64bc 100644 --- a/drivers/input/sparse-keymap.c +++ b/drivers/input/sparse-keymap.c @@ -224,20 +224,6 @@ int sparse_keymap_setup(struct input_dev *dev, EXPORT_SYMBOL(sparse_keymap_setup); /** - * sparse_keymap_free - free memory allocated for sparse keymap - * @dev: Input device using sparse keymap - * - * This function used to free memory allocated by sparse keymap - * in an input device that was set up by sparse_keymap_setup(). - * Since sparse_keymap_setup() now uses a managed allocation for the - * keymap copy, use of this function is deprecated. - */ -void sparse_keymap_free(struct input_dev *dev) -{ -} -EXPORT_SYMBOL(sparse_keymap_free); - -/** * sparse_keymap_report_entry - report event corresponding to given key entry * @dev: Input device for which event should be reported * @ke: key entry describing event |