input_free_device — free memory occupied by input_dev structure
|struct input_dev * dev|
This function should only be used if
was not called yet or if it failed. Once device was registered
input_unregister_device and memory will be freed once last
reference to the device is dropped.
Device should be allocated by