1DEVICE_DESTROY(9)        Device drivers infrastructure       DEVICE_DESTROY(9)
2
3
4

NAME

6       device_destroy - removes a device that was created with device_create
7

SYNOPSIS

9       void device_destroy(struct class * class, dev_t devt);
10

ARGUMENTS

12       class
13           pointer to the struct class that this device was registered with
14
15       devt
16           the dev_t of the device that was previously registered
17

DESCRIPTION

19       This call unregisters and cleans up a device that was created with a
20       call to device_create.
21
23Kernel Hackers Manual 2.6.       November 2011               DEVICE_DESTROY(9)
Impressum