staging: comedi: das1800: remove 'thisboard' macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Sat, 6 Apr 2013 00:35:22 +0000 (17:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:29:58 +0000 (10:29 -0700)
commitfef2aa646fa4293e3dbbdd40158c8e318f936916
treec24c041f716da2c24ff18deac830a74e91e4ce04
parent9876d566f2083ddec61331d3988eaec76f5ef8f8
staging: comedi: das1800: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das1800.c