staging/easycap: use regget for register back reading
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 8 Feb 2011 23:12:50 +0000 (01:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 19:59:07 +0000 (11:59 -0800)
commit32851b325e32bf9de72500d77488ffd9f7120395
tree8544caa06933724142e83fdd49ccd5d9d88aeb53
parent73132ce45a011ef76340e3d6393e79d8377e4312
staging/easycap: use regget for register back reading

Use regget to reading back what was written to a register.
This required changning size argument to regget signature

On the way remove usless variable casting

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_low.c