sparse_keymap_free9
Free memory allocated for sparse keymap
Usage
void sparse_keymap_free(struct
input_dev
*
dev);
Arguments
dev
Input device using sparse keymap
Overview
This function is used to free memory allocated by sparse keymap in an input device that was set up by sparse_keymap_setup.
Note
It is safe to cal this function while input device is still registered (however the drivers should care not to try to use freed keymap and thus have to shut off interrupts/polling before freeing the keymap).
History
- Debian 8 (Jessie): the text shown here
- Debian 7 (Wheezy)