Unregister a miscellaneous device
int misc_deregister(struct miscdevice * misc);
misc
device to unregister
Unregister a miscellaneous device that was previously successfully registered with misc_register. Success is indicated by a zero return, a negative errno code indicates an error.