Name
cdev_del —
remove a cdev from the system
Synopsis
void cdev_del ( | struct cdev * p) ; |
Arguments
p
the cdev structure to be removed
Description
cdev_del
removes p
from the system, possibly freeing the structure
itself.
NOTE
This guarantees that cdev device will no longer be able to be
opened, however any cdevs already open will remain and their fops will
still be callable even after cdev_del returns.