staging: comedi: ni_daq_700: remove thisboard macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 22 Jun 2012 23:25:26 +0000 (16:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:55:07 +0000 (20:55 -0700)
commit109d5d54e0e5d93d1fcc4acb186981459d152977
treea1344e8998d4b4ecf17b5a4efc4b23f745ea7aab
parent79820c9cec076bd839a076fcb06fb6bfb79b1614
staging: comedi: ni_daq_700: 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 local variables 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>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_daq_700.c