diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-22 16:46:07 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-04 20:30:04 -0700 |
| commit | 27b40b89e83aa3db99e392694c46b053ad804bba (patch) | |
| tree | 9129a4aa32afa42017b2bcab44ac52e6c8337c6c /include/linux | |
| parent | 90d662e3f1b42145f6d1ae9e58a423c859ed284d (diff) | |
staging: comedi: remove boardtype macro in the ni_atmio16d driver
The 'boardtype' 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 'include/linux')
0 files changed, 0 insertions, 0 deletions
