From: H Hartley Sweeten Date: Tue, 22 May 2012 23:33:51 +0000 (-0700) Subject: staging: comedi: remove this_board macro in the dt282x driver X-Git-Tag: v3.6-rc1~100^2~1033 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=061319698271bc80155cf3a67f0d5afed4024705;p=pandora-kernel.git staging: comedi: remove this_board macro in the dt282x 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