staging: comedi: cb_pcimdas: remove thisboard and devpriv macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 17 Aug 2012 02:46:20 +0000 (19:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 15:14:31 +0000 (08:14 -0700)
commit5f7cab0a9b0651e8cb125eb7ce2b1cb21f48b24f
treeb7a541900cd736fac5b514cee258653a5a736576
parent2c0db01128e0d767c4071a5ad22376875bc5d545
staging: comedi: cb_pcimdas: remove thisboard and devpriv macros

These macros rely on a local variable having a specific name.
Remove them and 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_pcimdas.c