1INPUT_FREE_DEVICE(9)            Input Subsystem           INPUT_FREE_DEVICE(9)
2
3
4

NAME

6       input_free_device - free memory occupied by input_dev structure
7

SYNOPSIS

9       void input_free_device(struct input_dev * dev);
10

ARGUMENTS

12       dev
13           input device to free
14

DESCRIPTION

16       This function should only be used if input_register_device was not
17       called yet or if it failed. Once device was registered use
18       input_unregister_device and memory will be freed once last reference to
19       the device is dropped.
20
21       Device should be allocated by input_allocate_device.
22

NOTE

24       If there are references to the input device then memory will not be
25       freed until last reference is dropped.
26
28Kernel Hackers Manual 3.10         June 2019              INPUT_FREE_DEVICE(9)
Impressum