staging: comedi: dt3000: remove this_board macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 26 Oct 2012 00:24:23 +0000 (17:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:18:16 +0000 (09:18 -0700)
commit0473c02a8b560e7a59af4a2d5132ef0ade0f6a33
tree843c79b7ec2a41abd7c7993596ce4e61be4f2145
parentea8690997095a8ba8d9dc22ae7fe75e64f047e38
staging: comedi: dt3000: remove this_board macro

This macro relies on a local variable having a specific name.
Remove it 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/dt3000.c