]> git.baikalelectronics.ru Git - kernel.git/commit
comedi vmk80xx: simplify rinsn output calculation
authorJ. Ali Harlow <ali@avrc.city.ac.uk>
Wed, 18 May 2011 18:18:53 +0000 (19:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 May 2011 21:32:06 +0000 (14:32 -0700)
commit6ab34a11ec2be955e7e2268847321f86b56e16f4
tree6262aa0763a8a7c24ac9213497d7f6940c8538c0
parent35462734d9ee61fccc544f3cd913f7504e9f3ce2
comedi vmk80xx: simplify rinsn output calculation

vmk80xx_di_rinsn() and vmk80xx_do_rinsn() extract the required channel
data by inconsistent and overly-complex algorithms. Simplify them both.

Signed-off-by: J. Ali Harlow <ali@avrc.city.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/vmk80xx.c