diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-05 17:36:22 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-08 10:29:59 -0700 |
| commit | a56ec2fe6657984f84e419355e6451460ffb44ce (patch) | |
| tree | bb731c5f09ac8a708177e1136a51f0b7da52a15c /tools/perf/scripts/python | |
| parent | 23e79f81ade338d1ca9283895088b5d0f57bc4df (diff) | |
staging: comedi: dt282x: remove 'boardtype' macro
The 'boardtype' macro relies on a local variable having a specific
name and yields a struct derived from that local variable.
Replace the macro with local variables and use the comedi_board()
helper to get the struct as a pointer. Use pointer access when
using the variable.
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
