staging: comedi: adl_pci6208: remove thisboard and devpriv macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 21:53:28 +0000 (14:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:40:02 +0000 (15:40 -0700)
commit949a18d39d75e92f516d562befe5447d368ab67d
treeba47377be81b1df2e9ff7c4d5aab92f7371e5567
parentac55ca32ca40de3cb52a1ca73ca4a9250e07eefd
staging: comedi: adl_pci6208: remove thisboard and devpriv macros

The 'thisboard' and 'devpriv' macros rely on a local variable having
a specific name and yield pointers derived from that local variable.
Replace the macros with local variables where used. Use the
comedi_board() helper to get the 'thisboard' 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/adl_pci6208.c