commit | 109d5d54e0e5d93d1fcc4acb186981459d152977 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri Jun 22 16:25:26 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 22 20:55:07 2012 -0700 |
tree | a1344e8998d4b4ecf17b5a4efc4b23f745ea7aab | |
parent | 79820c9cec076bd839a076fcb06fb6bfb79b1614 [diff] |
staging: comedi: ni_daq_700: 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> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>