[Construct] Finish char device allocation and registration

1. Register the device number by dynamic allocation
2. Allocate and register the device by cdev_init and cdev_add
3. Unregister the device by cdev_del and unregister_chrdev_region
[Construct] Finish char device allocation and registration

1. Register the device number by dynamic allocation
2. Allocate and register the device by cdev_init and cdev_add
3. Unregister the device by cdev_del and unregister_chrdev_region