]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: change type of auto-config context
authorIan Abbott <abbotti@mev.co.uk>
Sat, 27 Oct 2012 20:44:12 +0000 (21:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Oct 2012 22:02:07 +0000 (15:02 -0700)
commitf9c3e4e7a797ec7c0de3ad6372ca332692cd0115
tree12c841e7cd6ad6e2298de5b30c207065fc06b1da
parent3e4cce9dadada9661ee7464904151c5570e7b51c
staging: comedi: change type of auto-config context

Change the type of the context parameter passed to
`comedi_auto_config_helper()` from `void *` to `unsigned long`.  It's
currently just an internal change and all current internal usages pass
pointers in the context, but future uses of this function may pass
integer values or pointer values at the whim of a lower-level comedi
driver and the `unsigned long` type expresses this better as it is
commonly used in the Linux kernel to hold such values.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c