From: H Hartley Sweeten Date: Tue, 22 May 2012 23:46:07 +0000 (-0700) Subject: staging: comedi: remove boardtype macro in the ni_atmio16d driver X-Git-Tag: v3.6-rc1~100^2~1035 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b40b89e83aa3db99e392694c46b053ad804bba;p=pandora-kernel.git 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 Cc: Ian Abbott Cc: Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed