input_free_device(9) centos man page | unix.com

Man Page: input_free_device

Operating Environment: centos

Section: 9

INPUT_FREE_DEVICE(9)						  Input Subsystem					      INPUT_FREE_DEVICE(9)

NAME
input_free_device - free memory occupied by input_dev structure
SYNOPSIS
void input_free_device(struct input_dev * dev);
ARGUMENTS
dev input device to free
DESCRIPTION
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.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 INPUT_FREE_DEVICE(9)
Related Man Pages
device_schedule_callback_owner(9) - centos
struct_ff_device(9) - centos
struct_ff_device(9) - suse
struct_input_handler(9) - suse
struct_input_polled_dev(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
Shopt -s histappend
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq