1. NAME▲

sparse_keymap_free - free memory allocated for sparse keymap

2. SYNOPSIS ▲

void sparse_keymap_free(struct input_dev *  dev );

3. ARGUMENTS ▲

dev
    Input device using sparse keymap

4. DESCRIPTION ▲

This function is used to free memory allocated by sparse keymap in an input device that was set up by sparse_keymap_setup.

5. 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 interrups/polling before freeing the keymap).

6. COPYRIGHT ▲