staging: comedi: ni_labpc_cs: remove thisboard macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 26 Jan 2013 01:37:41 +0000 (18:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:09:25 +0000 (23:09 -0500)
commit6e4733c34fd344fe17c7f6f8bd340d116f5377ec
tree43050e0b5ea47386831f2871a08d279fa9a40d50
parent6749ffa84028b5283889eb68b9bbec2e27049722
staging: comedi: ni_labpc_cs: remove thisboard macro

The 'thisboard' macro relies on a local variable having a specific
name and yields a pointer derived from that local variable.

Replace the macro with a local variable and use the comedi_board()
helper to get the 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/ni_labpc_cs.c