staging: comedi: das08_cs: remove thisboard macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 2 Jul 2012 22:48:58 +0000 (15:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:51:20 +0000 (15:51 -0700)
commit6f88a20a7ff0b8724b9832c139fc06095e71b9bf
tree526192e8f1199a4e8057f520edca88e91fe519f1
parent6b7de35e32882226654ea3ac28620e8c82f8cb0f
staging: comedi: das08_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 where used. 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/das08_cs.c