Remove a cdev from the system
void cdev_del(struct cdev * p);
p
the cdev structure to be removed
cdev_del removes p from the system, possibly freeing the structure itself.