Compelet read function

xxx_read must return the lenght of what has been copy_to_user,
this lenght will be get by read in user space.

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