staging: comedi: cb_das16_cs: remove thisboard and devpriv macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 25 Jun 2012 23:37:10 +0000 (16:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:30:51 +0000 (15:30 -0700)
commit16a8cdfc13526983f6c55e35c09bbe091ac11e96
treeec4612e87725afd8ec49f96f8c29443dea1038b5
parentae7df43422cc0afdd5a808638dd7935ad752c62e
staging: comedi: cb_das16_cs: remove thisboard and devpriv macros

The 'thisboard' and 'devpriv' macros rely on a local variable having
a specific name and yield pointers derived from that local variable.
Replace the macro with local variables where used. Use the
comedi_board() helper to get the 'thisboard' pointer.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c