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