Staging: comedi: kcomedilib: make it typesafe
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 May 2010 22:01:50 +0000 (15:01 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:02 +0000 (11:36 -0700)
commit472dfe77b91d8026c3ccda22c60db0e92bc27863
tree8b3e7d5062921c59e710c770a368a3d26858e47f
parent3781bc5425f985c2ceffa3b2111e1d0eeb38cc24
Staging: comedi: kcomedilib: make it typesafe

If we really are passing in a struct comedi_device, then say we are,
don't mess around with void pointers for no reason.

This also fixes up the comedi_bond.c driver, which is the only
user of the kcomedilib code.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedilib.h
drivers/staging/comedi/drivers/comedi_bond.c
drivers/staging/comedi/kcomedilib/kcomedilib_main.c