]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: poc: introduce struct poc_private
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 15 Oct 2012 17:14:48 +0000 (10:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:57:57 +0000 (11:57 -0700)
commit22201ceaeb4f8c3a97b27cd421d9318566089b8c
tree69610d6ca3096bf25ed2fdfa8d6d51ad35203e35
parent8c12ec2616d18e9c6f6a6884a8738586be5a15d9
staging: comedi: poc: introduce struct poc_private

Wrap the private data used by this driver in a struct. This makes
the use of that data clearer and gets rid of the need for the casts.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/poc.c