04/16/2008 - Copyright © 2008 The PTR Group Inc.
Old School Driver Registration #2
Likewise, when a device driver removes itself from the system, it should unregister itself from the kernel to free up that major number
Typically in the __exit function:
int unregister_chrdev(unsigned int major, const char *name);