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