register_chrdev_region — register a range of device numbers
the first in the desired range of device numbers; must include the major number.
the number of consecutive device numbers required
the name of the device or driver.
Return value is zero on success, a negative error code on failure.