diff options
| author | 2012-05-22 16:41:39 -0700 | |
|---|---|---|
| committer | 2012-06-04 20:30:04 -0700 | |
| commit | 75b9ad9e902a51edc90cfcb4dd84c53683554de2 (patch) | |
| tree | d8be154c4e6492fac3fa3a70ba1b6574636cb02c /scripts | |
| parent | staging: comedi: remove boardtype macro in the ni_atmio16d driver (diff) | |
staging: comedi: remove thisboard macro in the ni_at_ao driver
The 'thisboard' macro depends on having a local variable with
a magic name. The CodingStyle document suggests not doing this
to avoid confusion. Remove the macro and use the comedi_board()
inline helper to get the dev->board_ptr information.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
