Return a range of device numbers
void unregister_chrdev_region(dev_t from, unsigned count);
from
the first in the range of numbers to unregister
count
the number of device numbers to unregister
This function will unregister a range of count device numbers, starting with from. The caller should normally be the one who allocated those numbers in the first place...