]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_670x: remove thisboard and devpriv macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 30 Jun 2012 00:36:45 +0000 (17:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:46:05 +0000 (15:46 -0700)
commit289a40339149300c42308afd917a5c9dbbc9bcd9
treece40122fe6c16bd1806af58263dd05e2b891f86a
parent944a2f111f5cb82c46b75a4990aa3afa4b243b35
staging: comedi: ni_670x: 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/ni_670x.c