From: H Hartley Sweeten Date: Thu, 16 Aug 2012 00:30:26 +0000 (-0700) Subject: staging: comedi: contec_pci_dio: remove thisboard macro X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~917 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5432e3f3e9f2d2644115b9c881c1e9dad0e1f8fc;p=pandora-kernel.git staging: comedi: contec_pci_dio: remove thisboard macro This macro relies on a local variable of a specific name. Remove the macro and use the comedi_board() helper to get the thisboard pointer. Move the 'dev->board_name = thisboard->name;' in contec_attach(). The contec_find_pci_dev() function modifies the dev->board_ptr. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed