staging: comedi: addi-data: Get rid of redundant ps_BoardInfo
authorIan Abbott <abbotti@mev.co.uk>
Mon, 16 May 2011 14:28:16 +0000 (15:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 20:33:39 +0000 (13:33 -0700)
commit7e0b3bf3abec4cd30c58e6311f913759a9e324d7
treec856626dcee5cad938bf2c05faf2c56224d6fa31
parent57517878df4e5769885e80aba895f4e69b1ddbe9
staging: comedi: addi-data: Get rid of redundant ps_BoardInfo

The ps_BoardInfo pointer in the device private data is redundant as we
can just use the this_board macro to access the same data, as is done
elsewhere in the code.  Get rid of the pointer and change the code to
use the this_board macro instead.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/addi_common.c
drivers/staging/comedi/drivers/addi-data/addi_common.h
drivers/staging/comedi/drivers/addi-data/hwdrv_apci16xx.c
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3xxx.c