staging: comedi: cb_pcidas: remove thisboard and devpriv macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 00:52:29 +0000 (17:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:23:50 +0000 (15:23 -0700)
commit82d8c74dcc75235740db3ed947267bfa5baa3117
tree8861cce681b458deeffcc6aee10e11f21923cc94
parent536af69e90b03966928ed59448f5ccd95ebd13ea
staging: comedi: cb_pcidas: 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 macros 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcidas.c