From: H Hartley Sweeten Date: Wed, 23 May 2012 00:39:22 +0000 (-0700) Subject: staging: comedi: remove this_board macro in the pcmad driver X-Git-Tag: v3.6-rc1~100^2~1044 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=449b683c6b4f92af648447f9eb449fd52ce6d56b;p=pandora-kernel.git staging: comedi: remove this_board macro in the pcmad driver The 'this_board' 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