Try to init char device by the dynamic way(to be tested)

Signed-off-by: Keven Liu <airk908@gmail.com>