提交 79ffd5f9 编写于 作者: D Dmitry Torokhov

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: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 d8f797c6
...@@ -223,20 +223,6 @@ int sparse_keymap_setup(struct input_dev *dev, ...@@ -223,20 +223,6 @@ int sparse_keymap_setup(struct input_dev *dev,
} }
EXPORT_SYMBOL(sparse_keymap_setup); 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 * sparse_keymap_report_entry - report event corresponding to given key entry
* @dev: Input device for which event should be reported * @dev: Input device for which event should be reported
......
...@@ -51,7 +51,6 @@ struct key_entry *sparse_keymap_entry_from_keycode(struct input_dev *dev, ...@@ -51,7 +51,6 @@ struct key_entry *sparse_keymap_entry_from_keycode(struct input_dev *dev,
int sparse_keymap_setup(struct input_dev *dev, int sparse_keymap_setup(struct input_dev *dev,
const struct key_entry *keymap, const struct key_entry *keymap,
int (*setup)(struct input_dev *, struct key_entry *)); int (*setup)(struct input_dev *, struct key_entry *));
void sparse_keymap_free(struct input_dev *dev);
void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *ke, void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *ke,
unsigned int value, bool autorelease); unsigned int value, bool autorelease);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册