summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-05-22 17:46:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-04 20:30:01 -0700
commit57bbeb3b9bc32f1ee4b14439e11ed475deab1263 (patch)
tree4e9db3327e19a89c8aa0d39ee957e069fb035ea3 /include/linux
parenta28b59957d3ad01481c2ea87aca50cfdb85417f2 (diff)
staging: comedi: remove this_board macro in the pcmmio 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 'include/linux')
0 files changed, 0 insertions, 0 deletions