From: H Hartley Sweeten Date: Sat, 18 Aug 2012 01:16:53 +0000 (-0700) Subject: staging: comedi: adv_pci1723: remove devpriv and this_board macros X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~847 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e201ad6dc3272e9731f896c818f0caacbbe9a1c2;p=pandora-kernel.git staging: comedi: adv_pci1723: remove devpriv and this_board macros The devpriv macro relies on a local variable having a specific name. Remove it. The this_board macro in this driver is a bit different in this driver. In other comedi drivers, this macro returns the dev->board_ptr. In this driver its simply 'boardtypes' which returns the first boardinfo element. Remove this macro also by making sure the dev->board_ptr is set in the pci1723_find_pci_dev() function and using the comedi_board() helper to get the pointer in pci1723_attach(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed