staging: comedi: adv_pci_dio: remove devpriv and this_board macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 18 Aug 2012 01:19:18 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 18:20:37 +0000 (11:20 -0700)
commit242f5223aefe577426324c9d7e29775a0e492bb7
treecf65b79b58a1cb9912b0c536c417eb23b0f87631
parentb850b2635f75c7092b1febc9a733a1b532c9dc7b
staging: comedi: adv_pci_dio: remove devpriv and this_board macros

These macros rely on a local variable having a specific name. Remove
them and use the comedi_board() helper to get the this_board pointer.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adv_pci_dio.c