input_free_device9
Free memory occupied by input_dev structure
Usage
void input_free_device(struct input_dev * dev);
Arguments
dev
input device to free
Overview
This function should only be used if input_register_device was not called yet or if it failed. Once device was registered use input_unregister_device and memory will be freed once last reference to the device is dropped.
Device should be allocated by input_allocate_device.
Note
If there are references to the input device then memory will not be freed until last reference is dropped.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.