Staging: comedi: kcomedilib: simplify comedi_do_insn()
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 May 2010 21:54:34 +0000 (14:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:02 +0000 (11:36 -0700)
Now that we know we are only making 2 different types of instructions,
only handle those two types.

Also make the call a bit more typesafe by passing the correct pointer
type.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found